diff --git a/perl-inc-latest.spec b/perl-inc-latest.spec index b30600e..928212f 100644 --- a/perl-inc-latest.spec +++ b/perl-inc-latest.spec @@ -8,9 +8,10 @@ Group: Development/Libraries URL: https://metacpan.org/release/inc-latest Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/inc-latest-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl-interpreter +BuildRequires: make BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Tests @@ -29,12 +30,11 @@ a distribution and are used by Makefile.PL or Build.PL. %setup -q -n inc-latest-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} %install make pure_install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT/* %check