Rewrite shell bang according to used perl
This commit is contained in:
parent
b401901f97
commit
b573781002
@ -1,7 +1,7 @@
|
||||
Name: perl-CPAN-Meta
|
||||
Summary: Distribution metadata for a CPAN dist
|
||||
Version: 2.150010
|
||||
Release: 394%{?dist}
|
||||
Release: 395%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
URL: http://search.cpan.org/dist/CPAN-Meta/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DAGOLDEN/CPAN-Meta-%{version}.tar.gz
|
||||
@ -12,6 +12,7 @@ BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
|
||||
# Module
|
||||
BuildRequires: perl(Carp)
|
||||
@ -65,7 +66,7 @@ structure stored in the META.json file is described in CPAN::Meta::Spec.
|
||||
%setup -q -n CPAN-Meta-%{version}
|
||||
|
||||
# silence rpmlint warnings
|
||||
sed -i '1s,#!.*perl,#!%{__perl},' t/*.t
|
||||
perl -MConfig -pi -e 's,^#!.*perl,$Config{startperl},' t/*.t
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
@ -100,6 +101,9 @@ make test
|
||||
%{_mandir}/man3/Parse::CPAN::Meta.3*
|
||||
|
||||
%changelog
|
||||
* Mon Dec 18 2017 Petr Pisar <ppisar@redhat.com> - 2.150010-395
|
||||
- Rewrite shell bang according to used perl
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.150010-394
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user