[perl-PPI/el5] Re-code docs as UTF-8

Paul Howarth pghmcfc at fedoraproject.org
Sun Mar 18 12:43:38 UTC 2012


commit b6d822ff07f20f025ac00f6dd20d565bf386a041
Author: Paul Howarth <paul at city-fan.org>
Date:   Sun Mar 18 12:28:34 2012 +0000

    Re-code docs as UTF-8

 PPI-1.201-UTF8.patch |   11 +++++++++++
 perl-PPI.spec        |    5 +++++
 2 files changed, 16 insertions(+), 0 deletions(-)
---
diff --git a/PPI-1.201-UTF8.patch b/PPI-1.201-UTF8.patch
new file mode 100644
index 0000000..316e0d3
--- /dev/null
+++ b/PPI-1.201-UTF8.patch
@@ -0,0 +1,11 @@
+--- Changes
++++ Changes
+@@ -430,7 +430,7 @@
+ 	- Resolved Lexer bug CPAN #13425 ( $p{package} creates a PPI::Statement::Package )
+ 	  Added smarts to resolve word-started statements as ::Expression in subscripts
+ 	- Resolved PDOM bug CPAN #13326 ( problems in index_locations )
+-	  Patch and comprehensive additional tests provided by johanl[ÄT]DarSerMan.com
++	  Patch and comprehensive additional tests provided by johanl[ÄT]DarSerMan.com
+ 	- Removed dependency on Class::Autouse. Just load Tokenizer and Lexer up front.
+ 	- Removed dependency on File::Slurp. Only use it 3 times and it's not worth it
+ 	  when almost all the files we will read are under 50k.
diff --git a/perl-PPI.spec b/perl-PPI.spec
index b9bd6c4..f4c3000 100644
--- a/perl-PPI.spec
+++ b/perl-PPI.spec
@@ -6,6 +6,7 @@ Group:          Development/Libraries
 License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/PPI/
 Source0:        http://www.cpan.org/authors/id/A/AD/ADAMK/PPI-%{version}.tar.gz
+Patch0:         PPI-1.201-UTF8.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Clone) >= 0.22
@@ -30,6 +31,9 @@ Parse, Analyze and Manipulate Perl (without perl).
 %setup -q -n PPI-%{version}
 chmod -c 644 lib/PPI/Document/File.pm
 
+# Re-code docs as UTF-8
+%patch0
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -62,6 +66,7 @@ rm -rf $RPM_BUILD_ROOT
 * Wed Mar 14 2012 Paul Howarth <paul at city-fan.org> - 1.201-2
 - Bump List::Util version requirement to 1.19 as per upstream
 - BR: perl(Task::Weaken)
+- Re-code docs as UTF-8
 
 * Wed Dec 19 2007 Tom "spot" Callaway <tcallawa at redhat.com> - 1.201-1
 - bump to 1.201



More information about the perl-devel mailing list