From 25c35854cbf642309843bced49e905152f42a687 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0abata?= <con...@redhat.com> Date: Mon, 29 Feb 2016 19:57:54 +0100 Subject: Package cleanup
--- perl-Net-IPv4Addr.spec | 47 ++++++++++++++++------------------------------- 1 file changed, 16 insertions(+), 31 deletions(-) diff --git a/perl-Net-IPv4Addr.spec b/perl-Net-IPv4Addr.spec index b3e8a5b..89e054f 100644 --- a/perl-Net-IPv4Addr.spec +++ b/perl-Net-IPv4Addr.spec @@ -1,33 +1,28 @@ Name: perl-Net-IPv4Addr Version: 0.10 -Release: 23%{?dist} +Release: 24%{?dist} Summary: Perl extension for manipulating IPv4 addresses - -Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Net-IPv4Addr/ Source0: http://search.cpan.org/CPAN/authors/id/F/FR/FRAJULAC/Net-IPv4Addr-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) - BuildArch: noarch -BuildRequires: coreutils -BuildRequires: findutils +# Build BuildRequires: make BuildRequires: perl -BuildRequires: perl(ExtUtils::MakeMaker) -# Run-time: +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 +# Runtime BuildRequires: perl(AutoLoader) BuildRequires: perl(Carp) BuildRequires: perl(Exporter) # Getopt::Long not used at tests BuildRequires: perl(strict) BuildRequires: perl(vars) -# Tests: +# Tests only BuildRequires: perl(Test) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -Requires: perl(AutoLoader) -Requires: perl(Exporter) -Obsoletes: perl-Network-IPv4Addr < 0.10-1 +Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) +Requires: perl(AutoLoader) +Requires: perl(Exporter) +Obsoletes: perl-Network-IPv4Addr < 0.10-1 %description Net::IPv4Addr provides functions for parsing IPv4 addresses both in traditional @@ -38,37 +33,27 @@ address is in a specific network. %prep %setup -q -n Net-IPv4Addr-%{version} - %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} - %install -rm -rf $RPM_BUILD_ROOT -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' -chmod -R u+w $RPM_BUILD_ROOT/* - +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot}/* %check make test - -%clean -rm -rf $RPM_BUILD_ROOT - - %files -%defattr(-,root,root,-) -%doc ChangeLog README +%doc ChangeLog NEWS README %{_bindir}/* %{perl_vendorlib}/* %{_mandir}/man?/* - %changelog +* Mon Feb 29 2016 Petr Ĺ abata <con...@redhat.com> - 0.10-24 +- Package cleanup + * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 0.10-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-Net-IPv4Addr.git/commit/?h=master&id=25c35854cbf642309843bced49e905152f42a687 -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org