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

file modified
+10 -4
@@ -1,6 +1,6 @@ 

  Name:           perl-Acme-Damn

  Version:        0.08

- Release:        13%{?dist}

+ Release:        14%{?dist}

  Summary:        Unbless Perl objects

  License:        GPL+ or Artistic

  
@@ -32,11 +32,12 @@ 

  %setup -q -n Acme-Damn-%{version}

  

  %build

- %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1

- make %{?_smp_mflags}

+ %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 \

+           NO_PERLLOCAL=1

+ %{make_build}

  

  %install

- make pure_install DESTDIR=%{buildroot}

+ %{make_install}

  %{_fixperms} %{buildroot}/*

  

  %check
@@ -49,6 +50,11 @@ 

  %{_mandir}/man3/*

  

  %changelog

+ * Fri Feb 28 2020 Tom Stellard <tstellar@redhat.com> - 0.08-14

+ - 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 <releng@fedoraproject.org> - 0.08-13

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