From ae5fca7a7cd9442c54c772ad65ed53c195d6ecb9 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Feb 06 2020 06:09:40 +0000 Subject: Spec file cleanups: Use make_build, make_install macros, and use NO_PACKLIST=1 https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMake --- diff --git a/perl-Unix-Syslog.spec b/perl-Unix-Syslog.spec index abc323c..5af0736 100644 --- a/perl-Unix-Syslog.spec +++ b/perl-Unix-Syslog.spec @@ -3,7 +3,7 @@ Name: perl-Unix-Syslog Version: 1.1 -Release: 35%{?dist} +Release: 36%{?dist} Summary: Perl interface to the UNIX syslog(3) calls License: Artistic 2.0 URL: https://metacpan.org/release/Unix-Syslog @@ -16,7 +16,7 @@ BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-devel BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Module Runtime BuildRequires: perl(DynaLoader) BuildRequires: perl(Exporter) @@ -43,12 +43,11 @@ syslog.h should be able to use this module right away. %setup -q -n Unix-Syslog-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}" +%{make_build} %install -make pure_install DESTDIR=%{buildroot} -find %{buildroot} -type f -name .packlist -delete +%{make_install} find %{buildroot} -type f -name '*.bs' -a -empty -delete %{_fixperms} %{buildroot} @@ -69,6 +68,11 @@ make test %{_mandir}/man3/Unix::Syslog.3* %changelog +* Thu Feb 06 2020 Tom Stellard - 1.1-36 +- Spec file cleanups: Use make_build, make_install macros, and use NO_PACKLIST=1 +- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make +- https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMake + * Thu Jan 30 2020 Fedora Release Engineering - 1.1-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild