From d9fc7daaa26de4ab2f8a0150bbb300c2558a19c9 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 26 Feb 2018 02:42:19 -0300 Subject: [PATCH] perl-XML-SAX: update to 1.00. Closes: #11907 [via git-merge-pr] --- ...le_install_stuff.diff => fix-installation.patch} | 13 +++++++------ srcpkgs/perl-XML-SAX/template | 8 ++++---- 2 files changed, 11 insertions(+), 10 deletions(-) rename srcpkgs/perl-XML-SAX/patches/{disable_install_stuff.diff => fix-installation.patch} (79%) diff --git a/srcpkgs/perl-XML-SAX/patches/disable_install_stuff.diff b/srcpkgs/perl-XML-SAX/patches/fix-installation.patch similarity index 79% rename from srcpkgs/perl-XML-SAX/patches/disable_install_stuff.diff rename to srcpkgs/perl-XML-SAX/patches/fix-installation.patch index 7e13c806929..b71247aa14c 100644 --- a/srcpkgs/perl-XML-SAX/patches/disable_install_stuff.diff +++ b/srcpkgs/perl-XML-SAX/patches/fix-installation.patch @@ -1,9 +1,10 @@ -Disable asking/registering the parser at install time, we do this -in the INSTALL/REMOVE scripts. +Source: maxice8 +Upstream: No +Reason: Fixes installation ---- Makefile.PL.orig 2009-04-21 19:00:26.282249017 +0200 -+++ Makefile.PL 2009-04-21 19:00:33.901197702 +0200 -@@ -11,43 +11,3 @@ WriteMakefile( +--- Makefile.PL ++++ Makefile.PL +@@ -12,43 +12,3 @@ WriteMakefile( 'XML::NamespaceSupport' => 0.03, }, ); @@ -37,7 +38,7 @@ in the INSTALL/REMOVE scripts. - $script =~ s/install :: (.*)$/install :: $1 install_sax_pureperl/m; - $script .= <<"INSTALL"; - --install_sax_pureperl : +-install_sax_pureperl : pure_install -\t\@\$(PERL) -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::PurePerl))->save_parsers()" - -INSTALL diff --git a/srcpkgs/perl-XML-SAX/template b/srcpkgs/perl-XML-SAX/template index 992fdc97964..330ad660601 100644 --- a/srcpkgs/perl-XML-SAX/template +++ b/srcpkgs/perl-XML-SAX/template @@ -1,7 +1,7 @@ # Template build file for 'perl-XML-SAX'. pkgname=perl-XML-SAX -version=0.99 -revision=4 +version=1.00 +revision=1 wrksrc="${pkgname/perl-/}-${version}" build_style=perl-module hostmakedepends="perl" @@ -11,6 +11,6 @@ noarch="yes" short_desc="Perl interface to the SAX2 XML Parser" maintainer="Juan RP " homepage="http://search.cpan.org/dist/XML-SAX" -license="Artistic, GPL-1" +license="Artistic-1.0-Perl, GPL-1.0-or-later" distfiles="${CPAN_SITE}/XML/XML-SAX-$version.tar.gz" -checksum=32b04b8e36b6cc4cfc486de2d859d87af5386dd930f2383c49347050d6f5ad84 +checksum=45ea6564ef8692155d57b2de0862b6442d3c7e29f4a9bc9ede5d7ecdc74c2ae3