Tom Stellard 5 years ago
parent 39aba340d7
commit 17fc64ae53

@ -1,7 +1,7 @@
Name: perl-B-Hooks-OP-Check Name: perl-B-Hooks-OP-Check
Summary: Wrap OP check callbacks Summary: Wrap OP check callbacks
Version: 0.22 Version: 0.22
Release: 9%{?dist} Release: 10%{?dist}
License: GPL+ or Artistic License: GPL+ or Artistic
URL: https://metacpan.org/release/B-Hooks-OP-Check URL: https://metacpan.org/release/B-Hooks-OP-Check
Source0: https://cpan.metacpan.org/modules/by-module/B/B-Hooks-OP-Check-%{version}.tar.gz Source0: https://cpan.metacpan.org/modules/by-module/B/B-Hooks-OP-Check-%{version}.tar.gz
@ -14,7 +14,7 @@ BuildRequires: perl-devel
BuildRequires: perl-generators BuildRequires: perl-generators
BuildRequires: perl-interpreter BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::Depends) >= 0.302 BuildRequires: perl(ExtUtils::Depends) >= 0.302
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
# Module Runtime # Module Runtime
BuildRequires: perl(DynaLoader) BuildRequires: perl(DynaLoader)
BuildRequires: perl(parent) BuildRequires: perl(parent)
@ -39,12 +39,11 @@ of 'PL_check'.
%setup -q -n B-Hooks-OP-Check-%{version} %setup -q -n B-Hooks-OP-Check-%{version}
%build %build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
make %{?_smp_mflags} %{make_build}
%install %install
make pure_install DESTDIR=%{buildroot} %{make_install}
find %{buildroot} -type f -name .packlist -delete
find %{buildroot} -type f -name '*.bs' -empty -delete find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} -c %{buildroot} %{_fixperms} -c %{buildroot}
@ -63,6 +62,11 @@ make test
%{_mandir}/man3/B::Hooks::OP::Check.3* %{_mandir}/man3/B::Hooks::OP::Check.3*
%changelog %changelog
* Mon May 04 2020 Tom Stellard <tstellar@redhat.com> - 0.22-10
- 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
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-9 * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

Loading…
Cancel
Save