summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lutterkort <lutter@fedoraproject.org>2006-08-01 23:50:39 +0000
committerDavid Lutterkort <lutter@fedoraproject.org>2006-08-01 23:50:39 +0000
commita0148e4944ede11c9ba8a6bbe7a54524610978ff (patch)
tree69eacd9f7dc8fc4328aa07d1ad7f873bd50fe408
parentbf901103f3ba12d1255aa9c6c0117fa6c27e4301 (diff)
downloadpuppet-package-a0148e4944ede11c9ba8a6bbe7a54524610978ff.tar.gz
puppet-package-a0148e4944ede11c9ba8a6bbe7a54524610978ff.tar.xz
puppet-package-a0148e4944ede11c9ba8a6bbe7a54524610978ff.zip
Fix shebang lines in executablespuppet-0_18_4-2_fc6
-rw-r--r--puppet.spec12
1 files changed, 11 insertions, 1 deletions
diff --git a/puppet.spec b/puppet.spec
index eb05ead..d1d6a4b 100644
--- a/puppet.spec
+++ b/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