rpms/puppet/FC-5 puppet.spec,1.3,1.4
David Lutterkort (lutter)
fedora-extras-commits at redhat.com
Tue Aug 1 23:51:50 UTC 2006
Author: lutter
Update of /cvs/extras/rpms/puppet/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6692
Modified Files:
puppet.spec
Log Message:
Fix shebang lines in executables
Index: puppet.spec
===================================================================
RCS file: /cvs/extras/rpms/puppet/FC-5/puppet.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- puppet.spec 1 Aug 2006 22:23:42 -0000 1.3
+++ puppet.spec 1 Aug 2006 23:51:50 -0000 1.4
@@ -5,7 +5,7 @@
Summary: A network tool for managing many disparate systems
Name: puppet
Version: 0.18.4
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
Group: System Environment/Base
@@ -37,6 +37,11 @@
%prep
%setup -q
+%build
+for f in bin/* ; do
+ sed -i -e '1c#!/usr/bin/ruby' $f
+done
+
%install
%{__rm} -rf %{buildroot}
%{__install} -d -m0755 %{buildroot}%{_sbindir}
@@ -122,6 +127,11 @@
%{__rm} -rf %{buildroot}
%changelog
+* Tue Aug 1 2006 David Lutterkort <dlutter at redhat.com> - 0.18.4-2
+- Use /usr/bin/ruby directly instead of /usr/bin/env ruby in
+ executables. Otherwise, initscripts break since pidof can't find the
+ right process
+
* Tue Aug 1 2006 David Lutterkort <dlutter at redhat.com> - 0.18.4-1
- New version
More information about the fedora-extras-commits
mailing list