[perl-NetAddr-IP] Declare encoding of POD

Petr Pisar ppisar at fedoraproject.org
Thu Aug 9 15:40:26 UTC 2012


commit e4fe6fbbb111b7787585c2f09f28e748d00f9a55
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu Aug 9 17:34:02 2012 +0200

    Declare encoding of POD

 NetAddr-IP-4.059-UTF8.patch                        |   20 ---------
 ...4.062-Recode-NetAddr-IP-Lite-POD-to-UTF-8.patch |   43 ++++++++++++++++++++
 perl-NetAddr-IP.spec                               |   10 +++-
 3 files changed, 50 insertions(+), 23 deletions(-)
---
diff --git a/NetAddr-IP-4.062-Recode-NetAddr-IP-Lite-POD-to-UTF-8.patch b/NetAddr-IP-4.062-Recode-NetAddr-IP-Lite-POD-to-UTF-8.patch
new file mode 100644
index 0000000..d28e126
--- /dev/null
+++ b/NetAddr-IP-4.062-Recode-NetAddr-IP-Lite-POD-to-UTF-8.patch
@@ -0,0 +1,43 @@
+From 74a488d6d53ea888eb81f099611e0cd0f81cbb06 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at 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 at cpan.orgE<gt>,
++Luis E. Muñoz E<lt>luismunoz at cpan.orgE<gt>,
+ Michael Robinton E<lt>michael at 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 - 2011.
+ 
+ All rights reserved.
+-- 
+1.7.11.2
+
diff --git a/perl-NetAddr-IP.spec b/perl-NetAddr-IP.spec
index ccfbd3d..f6ebdd9 100644
--- a/perl-NetAddr-IP.spec
+++ b/perl-NetAddr-IP.spec
@@ -1,12 +1,13 @@
 Name:           perl-NetAddr-IP
 Version:        4.062
-Release:        4%{?dist}
+Release:        5%{?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
+# Recode documentation to UTF-8
+Patch0:         NetAddr-IP-4.062-Recode-NetAddr-IP-Lite-POD-to-UTF-8.patch
 BuildRequires:  perl(AutoLoader)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Cwd)
@@ -32,7 +33,7 @@ or IP subnets, that allows for easy manipulations.
 %setup -q -n NetAddr-IP-%{version}
 
 # Recode NetAddr::IP::Lite module and manpage as UTF-8
-%patch0
+%patch0 -p1
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
@@ -58,6 +59,9 @@ make test
 %{_mandir}/man3/NetAddr::IP::UtilPP.3pm*
 
 %changelog
+* Thu Aug 09 2012 Petr Pisar <ppisar at redhat.com> - 4.062-5
+- Declare encoding of POD
+
 * Thu Aug 09 2012 Petr Pisar <ppisar at redhat.com> - 4.062-4
 - Specify all dependencies
 


More information about the scm-commits mailing list