#1 Spec file cleanups: Use make_build and make_install macros
Closed 8 months ago by xavierb. Opened 5 years ago by tstellar.
rpms/ tstellar/perl-NetAddr-IP spec-cleanup  into  rawhide

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

  Name:           perl-NetAddr-IP

  Version:        4.079

- Release:        13%{?dist}

+ Release:        14%{?dist}

  Summary:        Manages IPv4 and IPv6 addresses and subnets

  # Lite/Util/Util.xs is GPLv2+

  # Other files are (GPLv2+ or Artistic clarified)
@@ -53,11 +53,11 @@ 

  %setup -q -n NetAddr-IP-%{version}

  

  %build

- perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"

- make %{?_smp_mflags}

+ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PERLLOCAL=1

+ %make_build

  

  %install

- make pure_install DESTDIR=%{buildroot}

+ %make_install

  find %{buildroot} -type f -name .packlist -delete

  find %{buildroot} -type f -name '*.bs' -empty -delete

  %{_fixperms} %{buildroot}
@@ -81,6 +81,11 @@ 

  %{_mandir}/man3/NetAddr::IP::UtilPP.3*

  

  %changelog

+ * Wed Feb 05 2020 Tom Stellard <tstellar@redhat.com> - 4.079-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

+ 

  * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 4.079-13

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