Re: creating file in koji allowed?

2010-03-01 Thread Hans Ulrich Niedermann
On Thu, 25 Feb 2010 22:29:21 +0100 Thomas Spura spur...@students.uni-mainz.de wrote: Is it allowed to create a file ~/.mpd.conf, when building in koji and deleting afterwards? I need to write down a password into that file, for running a testsuite. If that file does not exist, I can't run

Re: creating file in koji allowed?

2010-03-01 Thread Thomas Spura
Am Montag, den 01.03.2010, 22:40 +0100 schrieb Hans Ulrich Niedermann: On Thu, 25 Feb 2010 22:29:21 +0100 Thomas Spura spur...@students.uni-mainz.de wrote: Is it allowed to create a file ~/.mpd.conf, when building in koji and deleting afterwards? I need to write down a password into

Re: creating file in koji allowed?

2010-02-26 Thread Ralf Ertzinger
Hi. On Thu, 25 Feb 2010 22:29:21 +0100, Thomas Spura wrote: Here is the snipped, I intend to use: %{_mpich2_load} # create ~/.mpd.conf, if it does not yet exist if [ -e ~/.mpd.conf ]; then # working locally, don't delete ~/.mpd.conf DONT_DEL=TRUE else DONT_DEL=FALSE

Re: creating file in koji allowed?

2010-02-26 Thread Thomas Spura
Am Freitag, den 26.02.2010, 11:14 +0100 schrieb Ralf Ertzinger: Hi. On Thu, 25 Feb 2010 22:29:21 +0100, Thomas Spura wrote: Here is the snipped, I intend to use: %{_mpich2_load} # create ~/.mpd.conf, if it does not yet exist if [ -e ~/.mpd.conf ]; then # working locally,

Re: creating file in koji allowed?

2010-02-26 Thread Jussi Lehtola
On Fri, 2010-02-26 at 14:07 +0100, Thomas Spura wrote: Am Freitag, den 26.02.2010, 00:58 +0100 schrieb Dominik 'Rathann' Mierzejewski: On Thursday, 25 February 2010 at 22:29, Thomas Spura wrote: I need to write down a password into that file, for running a testsuite. If that file

creating file in koji allowed?

2010-02-25 Thread Thomas Spura
Hi list, I never saw this anywhere before, so I'd like to ask here first, before doing so ;) Is it allowed to create a file ~/.mpd.conf, when building in koji and deleting afterwards? I need to write down a password into that file, for running a testsuite. If that file does not exist, I can't

Re: creating file in koji allowed?

2010-02-25 Thread Thomas Spura
Am Donnerstag, den 25.02.2010, 22:30 +0100 schrieb Thomas Spura: Is it allowed to create a file ~/.mpd.conf, when building in koji and deleting afterwards? There also is a safer way... echo MPD_SECRETWORD=$(pwgen -s 50 1) mpd.conf chmod 600 mpd.conf export MPD_CONF_FILE=mpd.conf run tests

Re: creating file in koji allowed?

2010-02-25 Thread Till Maas
On Thu, Feb 25, 2010 at 11:01:28PM +0100, Thomas Spura wrote: I'll use that now. But would be still interesting, if the other possibility would be allowed... It is not allowed: http://fedoraproject.org/wiki/Packaging/Guidelines#Scriplets_are_only_allowed_to_write_in_certain_directories