commit e9875e22deeb527434d16c70b689338691579045 Author: Ruediger Landmann <r.landmann@xxxxxxxxxx> Date: Sun Oct 27 08:14:15 2013 +1000 new upstream .gitignore | 1 + perl-XML-TreeBuilder.spec | 74 +++++++++++++------------------------------- sources | 2 +- 3 files changed, 24 insertions(+), 53 deletions(-) --- diff --git a/.gitignore b/.gitignore index 7dd769c..3bf3ffb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ XML-TreeBuilder-3.09.tar.gz /XML-TreeBuilder-4.0.tar.gz /XML-TreeBuilder-4.2.tar.gz +/XML-TreeBuilder-5.0_1.tar.gz diff --git a/perl-XML-TreeBuilder.spec b/perl-XML-TreeBuilder.spec index 774cf9d..d57d300 100644 --- a/perl-XML-TreeBuilder.spec +++ b/perl-XML-TreeBuilder.spec @@ -1,27 +1,29 @@ Summary: Parser that builds a tree of XML::Element objects Name: perl-XML-TreeBuilder -Version: 4.2 +Version: 5.0_1 Release: 0%{?dist} License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/XML-TreeBuilder/ -Source: http://www.cpan.org/modules/by-authors/id/J/JF/JFEARN/XML-TreeBuilder-%{version}.tar.gz +# have to: +# push the patch upstream +Source: http://www.cpan.org/modules/by-module/XML/XML-TreeBuilder-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Test::More) -BuildRequires: perl(Test::Perl::Critic) -BuildRequires: perl(Test::Pod::Coverage) -BuildRequires: perl(Test::Pod) -BuildRequires: perl(Devel::Cover) -BuildRequires: perl(Module::Build) -BuildRequires: perl(Test::Exception) BuildRequires: perl(HTML::Element) >= 4.1 BuildRequires: perl(HTML::Tagset) BuildRequires: perl(XML::Parser) -Requires: perl(HTML::Element) >= 4.1 perl(HTML::Tagset) perl(XML::Parser) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(XML::Catalog) >= 1.0.0 +BuildRequires: perl(Devel::Cover) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::Exception) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +BuildRequires: perl(Test::Perl::Critic) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(HTML::Element) perl(HTML::Tagset) perl(XML::Parser) %description perl-XML-TreeBuilder is a Perl module that implements a parser @@ -39,10 +41,8 @@ that builds a tree of XML::Element objects. %install %{__rm} -rf $RPM_BUILD_ROOT -./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 - -### Clean up buildroot -find $RPM_BUILD_ROOT -name .packlist -exec %{__rm} {} \; +./Build pure_install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' %clean %{__rm} -rf $RPM_BUILD_ROOT @@ -54,44 +54,14 @@ find $RPM_BUILD_ROOT -name .packlist -exec %{__rm} {} \; %{perl_vendorlib}/XML/ %changelog -* Mon Jul 15 2013 Jeff Fearn <jfearn@xxxxxxxxxx> 4.2-0 -- New upstream with CDATA support. - -* Wed Aug 15 2012 Daniel Mach <dmach@xxxxxxxxxx> - 4.0-8.1 -- Rebuild for perl 5.16 - -* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 4.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Fri Jun 15 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 4.0-7 -- Perl 5.16 rebuild - -* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 4.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Wed Jul 20 2011 Petr Sabata <contyk@xxxxxxxxxx> - 4.0-5 -- Perl mass rebuild - -* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 4.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Tue Jan 4 2011 Rüdiger Landmann <r.landmann@xxxxxxxxxx> - 4.0-3 -- Add Test::More to build requires - -* Thu Dec 23 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 4.0-2 -- 661697 rebuild for fixing problems with vendorach/lib - -* Thu Dec 02 2010 Jeff Fearn <jfearn@xxxxxxxxxx> - 4.0-1 -- New upstream - -* Fri May 07 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 3.09-19 -- Mass rebuild with perl-5.12.0 +* Fri Oct 04 2013 Jeff Fearn <jfearn@xxxxxxxxxx> - 5.0-0 +- Support entity expansion. -* Mon Dec 7 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 3.09-18 -- rebuild against perl 5.10.1 +* Fri Jan 25 2013 Jeff Fearn <jfearn@xxxxxxxxxx> - 4.1-0 +- Support XML::Parser ParseParamEnt parameter -* Mon Nov 16 2009 Jeff Fearn <jfearn@xxxxxxxxxx> - 3.09-17 -- Fix Requires +* Mon Jun 21 2010 Jeff Fearn <jfearn@xxxxxxxxxx> - 4.0-1 +- new upstream version. * Tue Sep 29 2009 Jeff Fearn <jfearn@xxxxxxxxxx> - 3.09-16 - Stupid man! Don't eat entities :( diff --git a/sources b/sources index a6293c3..238a413 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c43a1394089b33fc816e461196ca618a XML-TreeBuilder-4.2.tar.gz +adbc1cacbcf6c4ff371f85b9e498fa3f XML-TreeBuilder-5.0_1.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel