diff --git a/perl-Crypt-RC4.spec b/perl-Crypt-RC4.spec index 8a34947..0388c52 100644 --- a/perl-Crypt-RC4.spec +++ b/perl-Crypt-RC4.spec @@ -7,8 +7,12 @@ URL: https://metacpan.org/release/Crypt-RC4 Source0: https://cpan.metacpan.org/authors/id/S/SI/SIFUKURT/Crypt-RC4-%{version}.tar.gz BuildArch: noarch BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description @@ -29,16 +33,12 @@ have scrutinized the algorithm and it is considered secure. %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 PERL_INSTALL_ROOT=%{buildroot} - -find %{buildroot} -type f -name .packlist -exec rm -f {} \; -find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; - +%{make_install} %{_fixperms} %{buildroot}/*