Modernize a spec file

epel9
Petr Písař 3 years ago
parent 23ab4c0ba5
commit 4378da5281

@ -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 <ppisar@redhat.com> - 0.36-21
- Modernize a spec file
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.36-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

Loading…
Cancel
Save