Modernize a spec file

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

@ -1,6 +1,6 @@
Name: perl-Crypt-URandom Name: perl-Crypt-URandom
Version: 0.36 Version: 0.36
Release: 20%{?dist} Release: 21%{?dist}
Summary: Non-blocking randomness for Perl Summary: Non-blocking randomness for Perl
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/Crypt-URandom 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 BuildArch: noarch
BuildRequires: findutils BuildRequires: findutils
BuildRequires: make BuildRequires: make
BuildRequires: perl-interpreter
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict) BuildRequires: perl(strict)
BuildRequires: perl(warnings) BuildRequires: perl(warnings)
# Run-time: # Run-time:
@ -36,12 +36,11 @@ source of non-blocking randomness on the current platform.
%setup -q -n Crypt-URandom-%{version} %setup -q -n Crypt-URandom-%{version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags} %{make_build}
%install %install
make pure_install DESTDIR=$RPM_BUILD_ROOT %{make_install}
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
%{_fixperms} $RPM_BUILD_ROOT/* %{_fixperms} $RPM_BUILD_ROOT/*
%check %check
@ -53,6 +52,9 @@ make test
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %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 * Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.36-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

Loading…
Cancel
Save