[munin] Fix problem with "env perl -T" script execution

fenris02 fenris02 at fedoraproject.org
Sun Oct 14 21:52:02 UTC 2012


commit 300a5c07d922b8e6c3757412e5e2aa7788da763b
Author: D. Johnson <fenris02 at fedoraproject.org>
Date:   Sun Oct 14 16:51:27 2012 -0500

    Fix problem with "env perl -T" script execution

 munin.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/munin.spec b/munin.spec
index f0a445d..537b45e 100644
--- a/munin.spec
+++ b/munin.spec
@@ -1,6 +1,6 @@
 Name:           munin
 Version:        2.0.7
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Network-wide graphing framework (grapher/gatherer)
 
 Group:          System Environment/Daemons
@@ -231,7 +231,7 @@ sed -i -e '
   s,^HTMLDIR    = \(.*\),HTMLDIR    = $(DESTDIR)/var/www/html/munin,;
   s,^LIBDIR     = \(.*\),LIBDIR     = $(DESTDIR)%{_datadir}/munin,;
   s,^LOGDIR     = \(.*\),LOGDIR     = $(DESTDIR)/var/log/munin,;
-  s,^PERL       := \(.*\),PERL       := /usr/bin/env perl,;
+  s,^PERL       := \(.*\),PERL       := /usr/bin/perl,;
   s,^PERLSITELIB := \(.*\),PERLSITELIB := %{perl_vendorlib},;
   s,^PLUGSTATE  = \(.*\),PLUGSTATE  = $(DBDIR)/plugin-state,;
   s,^PREFIX     = \(.*\),PREFIX     = $(DESTDIR)/usr,;
@@ -564,6 +564,9 @@ exit 0
 
 
 %changelog
+* Sun Oct 14 2012 D. Johnson <fenris02 at fedoraproject.org> - 2.0.7-2
+- Do not use 'env' for #! lines.
+
 * Sun Oct 07 2012 D. Johnson <fenris02 at fedoraproject.org> - 2.0.7-1
 - Upstream to 2.0.7
 - BZ# 850401 Use systemd_preun when available (f18)


More information about the scm-commits mailing list