[perl-Data-OptList] Do not hard-code interpreter name
Petr Pisar
ppisar at fedoraproject.org
Thu Jan 15 16:00:27 UTC 2015
commit d8aca68630335f110429e90d05ffc551d084f32e
Author: Petr Písař <ppisar at redhat.com>
Date: Thu Jan 15 16:52:46 2015 +0100
Do not hard-code interpreter name
perl-Data-OptList.spec | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/perl-Data-OptList.spec b/perl-Data-OptList.spec
index ce20173..1bfdd2b 100644
--- a/perl-Data-OptList.spec
+++ b/perl-Data-OptList.spec
@@ -1,7 +1,7 @@
Name: perl-Data-OptList
Summary: Parse and validate simple name/value option pairs
Version: 0.109
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Data-OptList/
@@ -40,7 +40,9 @@ following a name is its value.
%prep
%setup -q -n Data-OptList-%{version}
-perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*
+for F in t/*; do
+ perl -MExtUtils::MakeMaker -e "ExtUtils::MM_Unix->fixin(q{$F})"
+done
%build
perl Makefile.PL INSTALLDIRS=vendor
@@ -61,6 +63,9 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
%{_mandir}/man3/Data::OptList.3pm*
%changelog
+* Thu Jan 15 2015 Petr Pisar <ppisar at redhat.com> - 0.109-4
+- Do not hard-code interpreter name
+
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.109-3
- Perl 5.20 rebuild
More information about the scm-commits
mailing list