diff --git a/perl-Net-CIDR-Lite.spec b/perl-Net-CIDR-Lite.spec index 1933008..430bcdc 100644 --- a/perl-Net-CIDR-Lite.spec +++ b/perl-Net-CIDR-Lite.spec @@ -1,18 +1,17 @@ Name: perl-Net-CIDR-Lite Version: 0.21 -Release: 25%{?dist} +Release: 26%{?dist} Summary: Perl extension for merging IPv4 or IPv6 CIDR addresses License: GPL+ or Artistic URL: https://metacpan.org/release/Net-CIDR-Lite -Source0: https://cpan.metacpan.org/authors/id/D/DO/DOUGW/Net-CIDR-Lite-%{version}.tar.gz +Source0: https://cpan.metacpan.org/modules/by-module/Net/Net-CIDR-Lite-%{version}.tar.gz BuildArch: noarch # Build BuildRequires: coreutils -BuildRequires: findutils BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-generators -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl-interpreter +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 # Runtime BuildRequires: perl(Carp) BuildRequires: perl(strict) @@ -34,13 +33,12 @@ ranges. Works for IPv4 and IPv6 addresses. %setup -q -n Net-CIDR-Lite-%{version} %build -perl Makefile.PL INSTALLDIRS=vendor -%make_build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 +%{make_build} %install -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -%{_fixperms} $RPM_BUILD_ROOT +%{make_install} +%{_fixperms} -c %{buildroot} %check make test @@ -51,6 +49,12 @@ make test %{_mandir}/man3/Net::CIDR::Lite.3* %changelog +* Tue Oct 8 2019 Paul Howarth - 0.21-26 +- Spec tidy-up + - Use author-independent source URL + - Use %%{make_build} and %%{make_install} + - Fix permissions verbosely + * Fri Jul 26 2019 Fedora Release Engineering - 0.21-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild