[perl-Pod-Spell] Do not use env in podspell shebang

Petr Pisar ppisar at fedoraproject.org
Tue Jul 23 09:07:04 UTC 2013


commit fc6c78a718e283ae4cb6a8aea341f0ed2385e1c8
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Jul 23 11:04:20 2013 +0200

    Do not use env in podspell shebang

 perl-Pod-Spell.spec |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/perl-Pod-Spell.spec b/perl-Pod-Spell.spec
index 907669b..0f21a84 100644
--- a/perl-Pod-Spell.spec
+++ b/perl-Pod-Spell.spec
@@ -1,6 +1,6 @@
 Name:           perl-Pod-Spell
 Version:        1.05
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A formatter for spell-checking POD
 Group:          Development/Libraries
 License:        Artistic 2.0
@@ -41,6 +41,7 @@ for F in README; do
     touch -r "${F}" "${F}.utf8"
     mv "${F}.utf8" "$F"
 done
+sed -i -e '/^#!/ c #!%{__perl}' bin/podspell
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor
@@ -62,6 +63,9 @@ make test
 %{_mandir}/man3/*.3pm*
 
 %changelog
+* Tue Jul 23 2013 Petr Pisar <ppisar at redhat.com> - 1.05-3
+- Do not use env in podspell shebang
+
 * Sat Jul 20 2013 Petr Pisar <ppisar at redhat.com> - 1.05-2
 - Perl 5.18 rebuild
 


More information about the scm-commits mailing list