diff --git a/perl-Crypt-URandom.spec b/perl-Crypt-URandom.spec index e83ed1a..cb94ac6 100644 --- a/perl-Crypt-URandom.spec +++ b/perl-Crypt-URandom.spec @@ -1,6 +1,6 @@ Name: perl-Crypt-URandom Version: 0.36 -Release: 20%{?dist} +Release: 21%{?dist} Summary: Non-blocking randomness for Perl License: GPL+ or Artistic URL: https://metacpan.org/release/Crypt-URandom @@ -8,9 +8,9 @@ Source0: https://cpan.metacpan.org/authors/id/D/DD/DDICK/Crypt-URandom-%{ BuildArch: noarch BuildRequires: findutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(strict) BuildRequires: perl(warnings) # Run-time: @@ -36,12 +36,11 @@ source of non-blocking randomness on the current platform. %setup -q -n Crypt-URandom-%{version} %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=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{make_install} %{_fixperms} $RPM_BUILD_ROOT/* %check @@ -53,6 +52,9 @@ make test %{_mandir}/man3/* %changelog +* Fri Dec 17 2021 Petr Pisar - 0.36-21 +- Modernize a spec file + * Thu Jul 22 2021 Fedora Release Engineering - 0.36-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild