summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0>2006-08-01 23:53:40 +0000
committerlutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0>2006-08-01 23:53:40 +0000
commit0e862a31b823d4a87e8ccdafbebff183f4f70a5f (patch)
tree97fd2b9703fe19646ae7c1b11365cb8c2be0a50c
parent450b495c5badef26b86ca296417610014c9df2cd (diff)
downloadpuppet-0e862a31b823d4a87e8ccdafbebff183f4f70a5f.tar.gz
puppet-0e862a31b823d4a87e8ccdafbebff183f4f70a5f.tar.xz
puppet-0e862a31b823d4a87e8ccdafbebff183f4f70a5f.zip
Fix shebang lines in executables
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1441 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r--conf/redhat/puppet.spec12
1 files changed, 11 insertions, 1 deletions
diff --git a/conf/redhat/puppet.spec b/conf/redhat/puppet.spec
index eb05eadd2..d1d6a4b8c 100644
--- a/conf/redhat/puppet.spec
+++ b/conf/redhat/puppet.spec
@@ -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 @@ The server can also function as a certificate authority and file server.
%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 @@ fi
%{__rm} -rf %{buildroot}
%changelog
+* Tue Aug 1 2006 David Lutterkort <dlutter@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@redhat.com> - 0.18.4-1
- New version