================================ perl-XML-SAX:source=0.16-2 (previous: 0.16-1) cvc rdiff perl-XML-SAX -1 /weasel.rpath.org@wgl:3-devel/0.16-2 ================================ 0.16-2 Filip Brcic (brcha@xxxxxxx) Wed Jan 27 11:37:10 2010 fixed recipe + metadata perl-XML-SAX.recipe: changed Index: perl-XML-SAX.recipe ==================================================================== contents(size sha1) inode(mtime) --- perl-XML-SAX.recipe /weasel.rpath.org@wgl:3-devel/0.16-1 +++ perl-XML-SAX.recipe /weasel.rpath.org@wgl:3-devel/0.16-2 @@ -1,17 +1,27 @@ # -# Copyright (c) 2004-2005 rPath, Inc. -# This file is distributed under the terms of the MIT License. -# A copy is available at http://www.rpath.com/permanent/mit-license.html +# Copyright (c) 2010 Filip Brcic <brcha@xxxxxxxxxxxx> +# Distributed under the terms of the GNU General Public License v3 # loadSuperClass('cpanpackage.recipe') -class XMLSAX(CPANPackageRecipe): - name='perl-XML-SAX' - version='0.16' +class PerlXmlSax(CPANPackageRecipe): + name = 'perl-XML-SAX' + version = '0.16' - buildRequires = [ 'perl-URI:perl', 'perl-XML-NamespaceSupport:perl', 'perl-libwww-perl:perl'] + buildRequires = [ + 'perl-URI:perl', 'perl-XML-NamespaceSupport:perl', + 'perl-libwww-perl:perl', + ] + + shortDesc = 'Perl XML::SAX module' + longDesc = """ +Perl module for using and building Perl SAX2 XML parsers, filters, and drivers +""" + url = 'http://search.cpan.org/~grantm/' + licenses = [ 'Artistic' ] + categories = [ 'Development/Perl' ] def unpack(r): CPANPackageRecipe.unpack(r) r.Replace('\-MXML::SAX','\-I\$(DESTINSTALLVENDORLIB) \-MXML::SAX', 'Makefile.PL') - + r.addPatch('encodings.patch') encodings.patch: new --- /dev/null +++ encodings.patch @@ -0,0 +11 @@ +--- SAX/PurePerl/EncodingDetect.pm.orig 2006-05-08 12:08:40.000000000 -0400 ++++ SAX/PurePerl/EncodingDetect.pm 2006-05-08 12:14:23.000000000 -0400 +@@ -93,7 +93,7 @@ sub encoding_detect { + return; + } + +- warn("Unable to recognise encoding of this document"); ++ #warn("Unable to recognise encoding of this document"); + return; + } + Committed by: brcha