diff --git a/perl-PathTools.spec b/perl-PathTools.spec index 4dd6cc5..1975bea 100644 --- a/perl-PathTools.spec +++ b/perl-PathTools.spec @@ -2,7 +2,7 @@ Name: perl-PathTools Version: 3.78 -Release: 440%{?dist} +Release: 441%{?dist} Summary: PathTools Perl module (Cwd, File::Spec) # Cwd.xs: BSD # other files: GPL+ or Artistic @@ -63,11 +63,11 @@ rm lib/File/Spec/VMS.pm sed -i -e '/^lib\/File\/Spec\/VMS.pm/d' MANIFEST %build -perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="$RPM_OPT_FLAGS" -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS" +%{make_build} %install -make pure_install DESTDIR=$RPM_BUILD_ROOT +%{make_install} find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* @@ -82,6 +82,11 @@ make test %{_mandir}/man3/* %changelog +* Thu Feb 06 2020 Tom Stellard - 3.78-441 +- Spec file cleanups: Use make_build and make_install macros +- 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 - 3.78-440 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild