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
This commit is contained in:
Paul Howarth 2012-06-08 09:04:05 +01:00
parent 359e7368cf
commit 64c9610c37
3 changed files with 43 additions and 9 deletions

View File

@ -0,0 +1,20 @@
--- Lite/Lite.pm
+++ Lite/Lite.pm
@@ -1561,7 +1561,7 @@
=head1 AUTHORS
-Luis E. Muñoz E<lt>luismunoz@cpan.orgE<gt>,
+Luis E. Muñoz E<lt>luismunoz@cpan.orgE<gt>,
Michael Robinton E<lt>michael@bizsystems.comE<gt>
=head1 WARRANTY
@@ -1571,7 +1571,7 @@
=head1 COPYRIGHT
- This software is (c) Luis E. Muñoz, 1999 - 2005
+ This software is (c) Luis E. Muñoz, 1999 - 2005
and (c) Michael Robinton, 2006 - 2011.
All rights reserved.

View File

@ -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@lists.fedoraproject.org> - 4.058-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Jun 8 2012 Paul Howarth <paul@city-fan.org> 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@lists.fedoraproject.org> 4.058-2
- rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Sat Nov 12 2011 Paul Howarth <paul@city-fan.org> 4.058-1
- update to 4.058

View File

@ -1 +1 @@
8829958dd84a8b36e3cd10347564739d NetAddr-IP-4.058.tar.gz
01503542903fe09fe078130f3b1bb3af NetAddr-IP-4.062.tar.gz