Do not hard-code interpreter name
This commit is contained in:
parent
a49c1806d8
commit
d8aca68630
@ -1,7 +1,7 @@
|
|||||||
Name: perl-Data-OptList
|
Name: perl-Data-OptList
|
||||||
Summary: Parse and validate simple name/value option pairs
|
Summary: Parse and validate simple name/value option pairs
|
||||||
Version: 0.109
|
Version: 0.109
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/Data-OptList/
|
URL: http://search.cpan.org/dist/Data-OptList/
|
||||||
@ -40,7 +40,9 @@ following a name is its value.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n Data-OptList-%{version}
|
%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
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
@ -61,6 +63,9 @@ make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
|
|||||||
%{_mandir}/man3/Data::OptList.3pm*
|
%{_mandir}/man3/Data::OptList.3pm*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 15 2015 Petr Pisar <ppisar@redhat.com> - 0.109-4
|
||||||
|
- Do not hard-code interpreter name
|
||||||
|
|
||||||
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.109-3
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.109-3
|
||||||
- Perl 5.20 rebuild
|
- Perl 5.20 rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user