#1 Spec file cleanups: Use make_build and make_install macros
Merged 4 years ago by jplesnik. Opened 4 years ago by tstellar.
rpms/ tstellar/perl-DBD-SQLite spec-cleanups  into  master

file modified
+9 -4
@@ -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 @@ 

  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 @@ 

  %{_mandir}/man3/*.3pm*

  

  %changelog

+ * Tue Feb 04 2020 Tom Stellard <tstellar@redhat.com> - 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 <releng@fedoraproject.org> - 1.64-3

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild