Ticket #5875: tap2rpm-hestern.2.patch
| File tap2rpm-hestern.2.patch, 1.1 KB (added by hestern, 10 months ago) |
|---|
-
twisted/scripts/tap2rpm.py
old new 35 35 [ -r /etc/default/%(rpm_file)s ] && . /etc/default/%(rpm_file)s 36 36 37 37 # check for required files 38 if [ ! -x %(twistd) ]38 if [ ! -x %(twistd)s ] 39 39 then 40 echo "$0: Aborting, no %(twistd) found"40 echo "$0: Aborting, no %(twistd)s found" 41 41 exit 0 42 42 fi 43 43 if [ ! -r "$file" ] … … 56 56 case "$1" in 57 57 start) 58 58 echo -n "Starting %(rpm_file)s: twistd" 59 daemon twistd\\59 daemon %(twistd)s \\ 60 60 --pidfile=$pidfile \\ 61 61 --rundir=$rundir \\ 62 62 --%(twistd_option)s=$file \\ … … 95 95 Group: Networking/Daemons 96 96 Source: %(tarfile_basename)s 97 97 BuildRoot: %%{_tmppath}/%%{name}-%%{version}-root 98 Requires: %(twistd) 98 Requires: %(twistd)s 99 99 BuildArch: noarch 100 100 101 101 %%description
