From d9af61a3f6c32f336732dd28d510ad0fd9726d79 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 4 Feb 2020 18:50:40 +0000 Subject: [PATCH] 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::MakeMaker --- perl-DBD-SQLite.spec | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/perl-DBD-SQLite.spec b/perl-DBD-SQLite.spec index 776b0e7..03e5f83 100644 --- a/perl-DBD-SQLite.spec +++ b/perl-DBD-SQLite.spec @@ -3,7 +3,7 @@ Name: perl-DBD-SQLite Version: 1.64 -Release: 3%{?dist} +Release: 4%{?dist} Summary: SQLite DBI Driver # lib/DBD/SQLite.pm: GPL+ or Artistic # LICENSE: GPL+ or Artistic @@ -98,11 +98,11 @@ rm -rf inc sed -i -e '/^inc\// d' MANIFEST %build -CFLAGS="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 -make %{?_smp_mflags} OPTIMIZE="%{optflags}" +CFLAGS="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%make_build OPTIMIZE="%{optflags}" %install -make pure_install DESTDIR=%{buildroot} +%make_install find %{buildroot} -type f -name '*.bs' -size 0 -delete %{_fixperms} %{buildroot}/* @@ -117,6 +117,11 @@ make test %{_mandir}/man3/*.3pm* %changelog +* Tue Feb 04 2020 Tom Stellard - 1.64-4 +- Spec file cleanups: Use make_build and make_install macros +- https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMaker +- https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make + * Wed Jan 29 2020 Fedora Release Engineering - 1.64-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild