Tom Stellard 5 years ago committed by Paul Howarth
parent 74e057e311
commit d551c2eca7

@ -1,6 +1,6 @@
Name: perl-String-CRC32
Version: 1.8
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Perl interface for cyclic redundancy check generation
License: Public Domain
URL: https://metacpan.org/release/String-CRC32
@ -13,7 +13,7 @@ BuildRequires: make
BuildRequires: perl-devel
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Module Runtime
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
@ -43,12 +43,11 @@ differ from those of the programs mentioned above.
%setup -q -n String-CRC32-%{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=%{buildroot}
find %{buildroot} -type f -name .packlist -delete
%{make_install}
find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} -c %{buildroot}
@ -67,6 +66,11 @@ make test
%{_mandir}/man3/String::CRC32.3*
%changelog
* Thu Feb 06 2020 Tom Stellard <tstellar@redhat.com> - 1.8-3
- Spec file cleanups: Use make_build and make_install macros, use NO_PACKLIST=1
- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
- https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMaker
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

Loading…
Cancel
Save