commit 64c9610c3790bbdc629c25c70f21ed3f7ff9b2bc Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Fri Jun 8 09:04:05 2012 +0100 Update to 4.062 - New upstream release 4.062 (#802994) - Add is_rfc1918 to Lite.pm v1.42 - Fix change in behavior introduced in v4.050 where an empty string supplied to "new" previously returned 'undef' and now returns 'default' for ipV4 or ipV6 (CPAN RT#75976) - Documentation updates - Don't need to remove empty directories from the buildroot - Recode NetAddr::IP::Lite module and manpage as UTF-8 - Don't use macros for commands NetAddr-IP-4.059-UTF8.patch | 20 ++++++++++++++++++++ perl-NetAddr-IP.spec | 30 ++++++++++++++++++++++-------- sources | 2 +- 3 files changed, 43 insertions(+), 9 deletions(-) --- diff --git a/NetAddr-IP-4.059-UTF8.patch b/NetAddr-IP-4.059-UTF8.patch new file mode 100644 index 0000000..550302c --- /dev/null +++ b/NetAddr-IP-4.059-UTF8.patch @@ -0,0 +1,20 @@ +--- Lite/Lite.pm ++++ Lite/Lite.pm +@@ -1561,7 +1561,7 @@ + + =head1 AUTHORS + +-Luis E. Mu�E<lt>luismunoz@xxxxxxxxx<gt>, ++Luis E. Muñoz E<lt>luismunoz@xxxxxxxxx<gt>, + Michael Robinton E<lt>michael@xxxxxxxxxxxxxxx<gt> + + =head1 WARRANTY +@@ -1571,7 +1571,7 @@ + + =head1 COPYRIGHT + +- This software is (c) Luis E. Mu� 1999 - 2005 ++ This software is (c) Luis E. Muñoz, 1999 - 2005 + and (c) Michael Robinton, 2006 - 2011. + + All rights reserved. diff --git a/perl-NetAddr-IP.spec b/perl-NetAddr-IP.spec index c875a57..54bc09c 100644 --- a/perl-NetAddr-IP.spec +++ b/perl-NetAddr-IP.spec @@ -1,11 +1,12 @@ Name: perl-NetAddr-IP -Version: 4.058 -Release: 2%{?dist} +Version: 4.062 +Release: 1%{?dist} Summary: Manages IPv4 and IPv6 addresses and subnets License: GPLv2+ 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 +Patch0: NetAddr-IP-4.059-UTF8.patch BuildRequires: perl(AutoLoader) BuildRequires: perl(Carp) BuildRequires: perl(Data::Dumper) @@ -14,7 +15,7 @@ BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Math::BigInt) BuildRequires: perl(Test::More) BuildRequires: perl(Socket6) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) Requires: perl(Math::BigInt) # Don't "provide" private Perl libs or redundant unversioned provides @@ -23,21 +24,23 @@ Requires: perl(Math::BigInt) %description This module provides an object-oriented abstraction on top of IP addresses or IP subnets, that allows for easy manipulations. Version 4.xx of -NetAddr::IP will work older versions of Perl and does not use +NetAddr::IP will work on older versions of Perl and does not use Math::BigInt as in previous versions. %prep %setup -q -n NetAddr-IP-%{version} +# Recode NetAddr::IP::Lite module and manpage as UTF-8 +%patch0 + %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; -find %{buildroot} -depth -type d -exec rmdir {} \; 2>/dev/null %{_fixperms} %{buildroot} %check @@ -54,8 +57,19 @@ make test %{_mandir}/man3/NetAddr::IP::UtilPP.3pm* %changelog -* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 4.058-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild +* Fri Jun 8 2012 Paul Howarth <paul@xxxxxxxxxxxx> 4.062-1 +- update to 4.062 (#802994) + - add is_rfc1918 to Lite.pm v1.42 + - fix change in behavior introduced in v4.050 where an empty string supplied + to "new" previously returned 'undef' and now returns 'default' for ipV4 or + ipV6 (CPAN RT#75976) + - documentation updates +- don't need to remove empty directories from the buildroot +- recode NetAddr::IP::Lite module and manpage as UTF-8 +- don't use macros for commands + +* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> 4.058-2 +- rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sat Nov 12 2011 Paul Howarth <paul@xxxxxxxxxxxx> 4.058-1 - update to 4.058 diff --git a/sources b/sources index 2bb78f2..bb1475c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8829958dd84a8b36e3cd10347564739d NetAddr-IP-4.058.tar.gz +01503542903fe09fe078130f3b1bb3af NetAddr-IP-4.062.tar.gz
-- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel