rpms/perl-CSS/F-13 perl-CSS-build-grammar.pl, NONE, 1.1 perl-CSS.spec, 1.6, 1.7

terjeros terjeros at fedoraproject.org
Thu Feb 18 18:46:39 UTC 2010


Author: terjeros

Update of /cvs/pkgs/rpms/perl-CSS/F-13
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17342

Modified Files:
	perl-CSS.spec 
Added Files:
	perl-CSS-build-grammar.pl 
Log Message:
Sync with rawhide.




--- NEW FILE perl-CSS-build-grammar.pl ---
use Parse::RecDescent;
use CSS::Parse::PRDGrammar;
$Parse::RecDescent::skip = '';
$::RD_AUTOACTION = 'print "token: ".shift @item; print " : @item\n"';
Parse::RecDescent->Precompile($CSS::Parse::PRDGrammar::GRAMMAR, "CSS::Parse::CompiledGrammar");


Index: perl-CSS.spec
===================================================================
RCS file: /cvs/pkgs/rpms/perl-CSS/F-13/perl-CSS.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- perl-CSS.spec	4 Dec 2009 02:18:14 -0000	1.6
+++ perl-CSS.spec	18 Feb 2010 18:46:39 -0000	1.7
@@ -1,11 +1,12 @@
 Name:           perl-CSS
 Version:        1.08
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Object oriented access to Cascading Style Sheets (CSS)
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/CSS/
 Source0:        http://www.cpan.org/modules/by-module/CSS/CSS-%{version}.tar.gz
+Source1:        perl-CSS-build-grammar.pl
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker) perl(Parse::RecDescent)
 BuildRequires:  perl(Test::Simple) dos2unix glibc-common
@@ -20,6 +21,11 @@ other formats.
 
 %prep
 %setup -q -n CSS-%{version}
+
+# Regenerate CSS::Parse::CompiledGrammar (#564808, CPAN RT#53948)
+%{__perl} %{SOURCE1}
+mv CompiledGrammar.pm CSS/Parse/
+
 mv Changes Changes.iso88591
 iconv -f ISO-8859-1 -t UTF-8 -o Changes Changes.iso88591
 touch -r Changes.iso88591 Changes
@@ -50,10 +56,15 @@ find %{buildroot} -depth -type d -exec r
 %files
 %defattr(-, root, root, -)
 %doc Changes README examples
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/CSS.pm
+%{perl_vendorlib}/CSS
+%{_mandir}/man3/CSS.*
+%{_mandir}/man3/CSS::*
 
 %changelog
+* Thu Feb 18 2010 Terje Rosten <terje.rosten at ntnu.no> - 1.08-7
+- Add patch from Paul Howarth to fix bz #564808, thanks!
+
 * Fri Dec  4 2009 Stepan Kasal <skasal at redhat.com> - 1.08-6
 - rebuild against perl 5.10.1
 



More information about the scm-commits mailing list