From 114223402803b4c3a4932be3a6078c39751688ae Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Jan 08 2020 11:06:47 +0000 Subject: Modernize spec --- diff --git a/perl-String-Copyright.spec b/perl-String-Copyright.spec index cc871a4..527587d 100644 --- a/perl-String-Copyright.spec +++ b/perl-String-Copyright.spec @@ -14,7 +14,7 @@ BuildRequires: perl-generators BuildRequires: perl(Carp) BuildRequires: perl(constant) BuildRequires: perl(Exporter::Tiny) -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(Number::Range) BuildRequires: perl(overload) BuildRequires: perl(parent) @@ -36,14 +36,13 @@ in normalized format. %build -perl Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 %make_build %install -make pure_install DESTDIR=%{buildroot} -# Remove .packlist -rm -f %{buildroot}%{perl_vendorarch}/auto/String/Copyright/.packlist +%make_install +%{_fixperms} %{buildroot}/* %check