ppisar pushed to perl-Class-Std (master). "0.013 bump"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Sep 11 11:20:25 UTC 2015


From 12ae79a85132085e2d5d45ded6ed3eecc75c8192 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Fri, 11 Sep 2015 13:05:51 +0200
Subject: 0.013 bump


diff --git a/Class-Std-0.011-pod-encoding.patch b/Class-Std-0.011-pod-encoding.patch
deleted file mode 100644
index a170afb..0000000
--- a/Class-Std-0.011-pod-encoding.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Fix for missing POD encoding (CPAN RT#78196)
-
---- lib/Class/Std.pm
-+++ lib/Class/Std.pm
-@@ -613,6 +613,8 @@
- 1; # Magic true value required at end of module
- __END__
- 
-+=encoding utf-8
-+
- =head1 NAME
- 
- Class::Std - Support for creating standard "inside-out" classes
-@@ -1509,7 +1511,7 @@
- key/value pair, which may be specified in either Perl 5 "fat comma" syntax
- ( C<< S<< key => 'value' >> >> ) or in one of the Perl 6 option syntaxes
- ( C<< S<< :key<value> >> >> or C<< S<< :key('value') >> >> or 
--C<< S<< :key�value� >> >>).
-+C<< S<< :key«value» >> >>).
- 
- Note that, due to a limitation in Perl itself, the complete C<:ATTR> marker,
- including its options must appear on a single line.
diff --git a/Class-Std-0.013-POD-encoding.patch b/Class-Std-0.013-POD-encoding.patch
new file mode 100644
index 0000000..f12e42d
--- /dev/null
+++ b/Class-Std-0.013-POD-encoding.patch
@@ -0,0 +1,40 @@
+From 7b8b69a73c791ede6a7c038a83430e13e5baa797 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
+Date: Fri, 11 Sep 2015 13:15:08 +0200
+Subject: [PATCH] POD encoding
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Recode to UTF-8. ISO-8859-1 POD is from uknown reason misinterpreted.
+
+Signed-off-by: Petr Písař <ppisar at redhat.com>
+---
+ lib/Class/Std.pm | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/lib/Class/Std.pm b/lib/Class/Std.pm
+index f2027f0..06c73f9 100644
+--- a/lib/Class/Std.pm
++++ b/lib/Class/Std.pm
+@@ -615,7 +615,7 @@ use overload (
+ 1; # Magic true value required at end of module
+ __END__
+ 
+-=encoding ISO-8859-1
++=encoding utf8
+ 
+ =head1 NAME
+ 
+@@ -1513,7 +1513,7 @@ other attribute-related behaviours. Each of these options consists of a
+ key/value pair, which may be specified in either Perl 5 "fat comma" syntax
+ ( C<< S<< key => 'value' >> >> ) or in one of the Perl 6 option syntaxes
+ ( C<< S<< :key<value> >> >> or C<< S<< :key('value') >> >> or 
+-C<< S<< :key�value� >> >>).
++C<< S<< :key«value» >> >>).
+ 
+ Note that, due to a limitation in Perl itself, the complete C<:ATTR> marker,
+ including its options must appear on a single line.
+-- 
+2.4.3
+
diff --git a/perl-Class-Std.spec b/perl-Class-Std.spec
index dad78c1..398a779 100644
--- a/perl-Class-Std.spec
+++ b/perl-Class-Std.spec
@@ -1,28 +1,29 @@
 Name:           perl-Class-Std
-Version:        0.011
-Release:        5%{?dist}
+Version:        0.013
+Release:        1%{?dist}
 Summary:        Support for creating standard "inside-out" classes
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Class-Std/
 Source0:        http://www.cpan.org/modules/by-module/Class/Class-Std-%{version}.tar.gz
-Patch0:         Class-Std-0.011-pod-encoding.patch
+# Recode to UTF-8
+Patch0:         Class-Std-0.013-POD-encoding.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:      noarch
 # Module Build
+BuildRequires:  coreutils
+BuildRequires:  perl
 BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
 # Module Runtime
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
 BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(overload)
 BuildRequires:  perl(Scalar::Util)
-BuildRequires:  perl(strict)
-BuildRequires:  perl(warnings)
 # Test Suite
 BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Test::Pod) >= 1.14
-BuildRequires:  perl(Test::Pod::Coverage)
 # Runtime
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(Data::Dumper)
@@ -33,9 +34,7 @@ class structure in a convenient and standard way.
 
 %prep
 %setup -q -n Class-Std-%{version}
-
-# Supply missing POD encoding (CPAN RT#78196)
-%patch0
+%patch0 -p1
 
 %build
 perl Build.PL installdirs=vendor
@@ -58,6 +57,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Class::Std.3pm*
 
 %changelog
+* Fri Sep 11 2015 Petr Pisar <ppisar at redhat.com> - 0.013-1
+- 0.013 bump
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.011-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
diff --git a/sources b/sources
index dd84eca..11db0d4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-de8ad4f39cc9984595bc219df01ee23b  Class-Std-0.011.tar.gz
+82bcc56d9769edce671b0bd0e183ec3a  Class-Std-0.013.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Class-Std.git/commit/?h=master&id=12ae79a85132085e2d5d45ded6ed3eecc75c8192


More information about the perl-devel mailing list