diff --git a/perl-DBI.spec b/perl-DBI.spec index 0b63378..82cf7a7 100644 --- a/perl-DBI.spec +++ b/perl-DBI.spec @@ -34,7 +34,7 @@ Name: perl-DBI Version: 1.642 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A database access API for perl License: GPL+ or Artistic URL: http://dbi.perl.org/ @@ -181,11 +181,12 @@ for F in lib/DBI/W32ODBC.pm lib/Win32/DBIODBC.pm; do done %build -perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="%{optflags}" -make %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="%{optflags}" \ + NO_PERLLOCAL=1 +%make_build %install -make pure_install DESTDIR=%{buildroot} +%make_install find %{buildroot} -type f -name '*.bs' -empty -delete %{_fixperms} '%{buildroot}'/* @@ -214,6 +215,11 @@ make test %endif %changelog +* Tue Feb 04 2020 Tom Stellard - 1.642-7 +- 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 + * Wed Jan 29 2020 Fedora Release Engineering - 1.642-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild