diff --git a/perl-App-cpanminus.spec b/perl-App-cpanminus.spec index 5da14cd..ced37d4 100644 --- a/perl-App-cpanminus.spec +++ b/perl-App-cpanminus.spec @@ -17,11 +17,10 @@ Patch0: App-cpanminus-1.7044-SHA1-SHA256-in-checksum-chat.patch BuildArch: noarch BuildRequires: %{_bindir}/podselect BuildRequires: coreutils -BuildRequires: findutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(File::Path) BuildRequires: perl(File::Spec) BuildRequires: perl(Getopt::Long) @@ -134,12 +133,11 @@ done %patch0 -p1 %build -perl Makefile.PL INSTALLDIRS=vendor -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} %install -make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -delete +%{make_install} %{_fixperms} %{buildroot}/* %check