pghmcfc pushed to perl-NetAddr-IP (master). "Update to 4.077 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Aug 14 14:49:37 UTC 2015


From 1ee1947d66ecae054bd47132e5dda2e8ff458552 Mon Sep 17 00:00:00 2001
From: Paul Howarth <paul at city-fan.org>
Date: Fri, 14 Aug 2015 15:33:10 +0100
Subject: Update to 4.077

- New upstream release 4.077
  - Added method is_local() to Lite.pm
  - Fix Util/Makefile.PL to work around bug in Android's sh
  - Add method full6m()
  - Fix Util/Makefile.PL issue with clang compiler (CPAN RT#86831)
- Classify buildreqs by usage
- Use %license where possible

diff --git a/perl-NetAddr-IP.spec b/perl-NetAddr-IP.spec
index dad5d36..8875eb2 100644
--- a/perl-NetAddr-IP.spec
+++ b/perl-NetAddr-IP.spec
@@ -1,6 +1,6 @@
 Name:           perl-NetAddr-IP
-Version:        4.075
-Release:        5%{?dist}
+Version:        4.077
+Release:        1%{?dist}
 Summary:        Manages IPv4 and IPv6 addresses and subnets
 # Lite/Util/Util.xs is GPLv2+
 # Other files are (GPLv2+ or Artistic clarified)
@@ -8,21 +8,38 @@ License:        GPLv2+ and (GPLv2+ or Artistic clarified)
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/NetAddr-IP/
 Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIKER/NetAddr-IP-%{version}.tar.gz
+# Module Build
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  gcc
+BuildRequires:  make
 BuildRequires:  perl
-BuildRequires:  perl(AutoLoader)
-BuildRequires:  perl(Carp)
+BuildRequires:  perl(Config)
 BuildRequires:  perl(Cwd)
-BuildRequires:  perl(Data::Dumper)
-BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Getopt::Long)
-BuildRequires:  perl(Math::BigInt)
 BuildRequires:  perl(Pod::Text)
-BuildRequires:  perl(Test::More)
+# Module Runtime
+BuildRequires:  perl(AutoLoader)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(DynaLoader)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(Math::BigInt)
+BuildRequires:  perl(overload)
 BuildRequires:  perl(Socket)
 BuildRequires:  perl(Socket6)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+# Test Suite
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Storable)
+BuildRequires:  perl(Test::More)
+# Runtime
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(Math::BigInt)
+Requires:       perl(Socket6)
 
 # Don't "provide" private Perl libs or redundant unversioned provides
 %global __provides_exclude ^(perl\\(NetAddr::IP(::(InetBase|Util(PP)?))?\\)$|Util\\.so)
@@ -35,7 +52,7 @@ or IP subnets, that allows for easy manipulations.
 %setup -q -n NetAddr-IP-%{version}
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+CC=gcc perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
 %install
@@ -48,16 +65,31 @@ find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
 make test
 
 %files
-%doc About-NetAddr-IP.txt Artistic Changes Copying TODO docs/rfc1884.txt
+%if 0%{?_licensedir:1}
+%license Artistic Copying
+%else
+%doc Artistic Copying
+%endif
+%doc About-NetAddr-IP.txt Changes TODO docs/rfc1884.txt
 %{perl_vendorarch}/auto/NetAddr/
 %{perl_vendorarch}/NetAddr/
-%{_mandir}/man3/NetAddr::IP.3pm*
-%{_mandir}/man3/NetAddr::IP::InetBase.3pm*
-%{_mandir}/man3/NetAddr::IP::Lite.3pm*
-%{_mandir}/man3/NetAddr::IP::Util.3pm*
-%{_mandir}/man3/NetAddr::IP::UtilPP.3pm*
+%{_mandir}/man3/NetAddr::IP.3*
+%{_mandir}/man3/NetAddr::IP::InetBase.3*
+%{_mandir}/man3/NetAddr::IP::Lite.3*
+%{_mandir}/man3/NetAddr::IP::Util.3*
+%{_mandir}/man3/NetAddr::IP::UtilPP.3*
 
 %changelog
+* Fri Aug 14 2015 Paul Howarth <paul at city-fan.org> - 4.077-1
+- Update to 4.077
+  - Added method is_local() to Lite.pm
+  - Fix Util/Makefile.PL to work around bug in Android's sh
+  - Add method full6m()
+  - Fix Util/Makefile.PL issue with clang compiler (CPAN RT#86831)
+- Classify buildreqs by usage
+- Use %%license where possible
+
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 4.075-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index 71be388..9b7affa 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-b72b91ebd228b096fd3b0acc87df877e  NetAddr-IP-4.075.tar.gz
+db52dcb07cb2c4fcd72e37a1930f6590  NetAddr-IP-4.077.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-NetAddr-IP.git/commit/?h=master&id=1ee1947d66ecae054bd47132e5dda2e8ff458552


More information about the perl-devel mailing list