Update to 4.069

- New upstream release 4.069
  - Add proper pod encoding in Lite.pm
  - Changed Makefile.PL to check for config.h when building for XS with 'gcc',
    try building with 'cc', and check again; if config.h is not found, force
    Pure Perl mode
  - Kill XS in winduhs and Darwin, both of which misbehave when compiling XS
    code
- Drop UTF8 patch, no longer needed
This commit is contained in:
Paul Howarth 2013-05-26 14:02:29 +01:00
parent c1d6f876b3
commit 0707589d43
3 changed files with 13 additions and 51 deletions

View File

@ -1,43 +0,0 @@
From 74a488d6d53ea888eb81f099611e0cd0f81cbb06 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Thu, 9 Aug 2012 17:14:37 +0200
Subject: [PATCH] Recode NetAddr::IP::Lite POD to UTF-8
---
Lite/Lite.pm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Lite/Lite.pm b/Lite/Lite.pm
index b6d29b2..17c80f4 100644
--- a/Lite/Lite.pm
+++ b/Lite/Lite.pm
@@ -48,6 +48,8 @@ $Accept_Binary_IP = 0;
$Old_nth = 0;
*Zero = \&Zeros;
+=encoding utf8
+
=head1 NAME
NetAddr::IP::Lite - Manages IPv4 and IPv6 addresses and subnets
@@ -1569,7 +1571,7 @@ sub import {
=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
@@ -1579,7 +1581,7 @@ so by using it you accept any and all the liability.
=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 - 2012.
All rights reserved.
--
1.7.11.2

View File

@ -1,5 +1,5 @@
Name: perl-NetAddr-IP
Version: 4.068
Version: 4.069
Release: 1%{?dist}
Summary: Manages IPv4 and IPv6 addresses and subnets
# Lite/Util/Util.xs is GPLv2+
@ -8,8 +8,6 @@ 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
# Recode documentation to UTF-8
Patch0: NetAddr-IP-4.064-Recode-NetAddr-IP-Lite-POD-to-UTF-8.patch
BuildRequires: perl(AutoLoader)
BuildRequires: perl(Carp)
BuildRequires: perl(Cwd)
@ -34,9 +32,6 @@ or IP subnets, that allows for easy manipulations.
%prep
%setup -q -n NetAddr-IP-%{version}
# Recode NetAddr::IP::Lite module and manpage as UTF-8
%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
@ -61,7 +56,17 @@ make test
%{_mandir}/man3/NetAddr::IP::UtilPP.3pm*
%changelog
* Wed Apr 3 2013 Paul Howarth <paul@city-fan.org> 4.068-1
* Sun May 26 2013 Paul Howarth <paul@city-fan.org> - 4.069-1
- Update to 4.069
- Add proper pod encoding in Lite.pm
- Changed Makefile.PL to check for config.h when building for XS with 'gcc',
try building with 'cc', and check again; if config.h is not found, force
Pure Perl mode
- Kill XS in winduhs and Darwin, both of which misbehave when compiling XS
code
- Drop UTF8 patch, no longer needed
* Wed Apr 3 2013 Paul Howarth <paul@city-fan.org> - 4.068-1
- Update to 4.068
- Update Makefile.PL in Util.pm to better detect 'winduhs'

View File

@ -1 +1 @@
2d3cfeb6a02cac224deb42667e6d9fef NetAddr-IP-4.068.tar.gz
7721135fcea390327f75421a6b701144 NetAddr-IP-4.069.tar.gz