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