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 - 0.109-4 +- Do not hard-code interpreter name + * Wed Aug 27 2014 Jitka Plesnikova - 0.109-3 - Perl 5.20 rebuild