commit perl-XML-LibXSLT for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package perl-XML-LibXSLT for openSUSE:Factory checked in at 2012-02-14 13:09:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/perl-XML-LibXSLT (Old) and /work/SRC/openSUSE:Factory/.perl-XML-LibXSLT.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "perl-XML-LibXSLT", Maintainer is "VCizek@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/perl-XML-LibXSLT/perl-XML-LibXSLT.changes 2011-11-02 12:15:17.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.perl-XML-LibXSLT.new/perl-XML-LibXSLT.changes 2012-02-14 13:09:50.000000000 +0100 @@ -1,0 +2,9 @@ +Fri Jan 13 02:39:50 UTC 2012 - vcizek@suse.com + +- update to 1.76 + - Made LibXSLT.xs compile with C compilers that don't accept declarations + inside blocks: + - https://rt.cpan.org/Public/Bug/Display.html?id=73905 + - These include Microsoft Visual C++ (in C-mode). + +------------------------------------------------------------------- Old: ---- XML-LibXSLT-1.75.tar.gz New: ---- XML-LibXSLT-1.76.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ perl-XML-LibXSLT.spec ++++++ --- /var/tmp/diff_new_pack.kAT41B/_old 2012-02-14 13:09:54.000000000 +0100 +++ /var/tmp/diff_new_pack.kAT41B/_new 2012-02-14 13:09:54.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package perl-XML-LibXSLT # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,14 +16,13 @@ # - Name: perl-XML-LibXSLT -Version: 1.75 -Release: 7 -License: GPL-1.0+ or Artistic-1.0 +Version: 1.76 +Release: 0 Summary: XML::LibXSLT Perl Module -Url: http://www.cpan.org/modules/by-module/XML/ +License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl +Url: http://www.cpan.org/modules/by-module/XML/ Source: XML-LibXSLT-%{version}.tar.gz BuildRequires: libxslt-devel BuildRequires: perl-XML-LibXML ++++++ XML-LibXSLT-1.75.tar.gz -> XML-LibXSLT-1.76.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXSLT-1.75/Changes new/XML-LibXSLT-1.76/Changes --- old/XML-LibXSLT-1.75/Changes 2011-10-28 17:27:07.000000000 +0200 +++ new/XML-LibXSLT-1.76/Changes 2012-01-12 18:15:07.000000000 +0100 @@ -1,5 +1,11 @@ Revision history for Perl extension XML::LibXSLT. +1.76 Thu Jan 12 19:15:03 IST 2012 + - Made LibXSLT.xs compile with C compilers that don't accept declarations + inside blocks: + - https://rt.cpan.org/Public/Bug/Display.html?id=73905 + - These include Microsoft Visual C++ (in C-mode). + 1.75 Fri Oct 28 17:26:57 IST 2011 - Convert the following test scripts from Test.pm to Test::More : - t/03input.t diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXSLT-1.75/LibXSLT.pm new/XML-LibXSLT-1.76/LibXSLT.pm --- old/XML-LibXSLT-1.75/LibXSLT.pm 2011-10-28 17:26:47.000000000 +0200 +++ new/XML-LibXSLT-1.76/LibXSLT.pm 2012-01-12 18:15:21.000000000 +0100 @@ -25,7 +25,7 @@ require Exporter; -$VERSION = "1.75"; +$VERSION = "1.76"; require DynaLoader; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXSLT-1.75/LibXSLT.xs new/XML-LibXSLT-1.76/LibXSLT.xs --- old/XML-LibXSLT-1.75/LibXSLT.xs 2011-10-28 17:15:52.000000000 +0200 +++ new/XML-LibXSLT-1.76/LibXSLT.xs 2012-01-12 18:12:04.000000000 +0100 @@ -265,29 +265,31 @@ XPUSHs(sv_2mortal(newSViv(nodelist->nodeNr))); if ( nodelist->nodeNr == 0 ) break; - const char * cls = "XML::LibXML::Node"; - xmlNodePtr tnode = NULL; - SV * element = NULL; - int i; - for(i=0; i < nodelist->nodeNr; i++ ){ - tnode = nodelist->nodeTab[i]; - /* need to copy the node as libxml2 will free it */ - if (tnode->type == XML_NAMESPACE_DECL) { - element = sv_newmortal(); - cls = x_PmmNodeTypeName( tnode ); - element = sv_setref_pv( element, - (const char *)cls, - (void *)xmlCopyNamespace((xmlNsPtr)tnode) - ); - } - else { - xmlNodePtr tnode_cpy = xmlDocCopyNode(tnode,INT2PTR(xmlDocPtr,x_PmmNODE(SvPROXYNODE(owner_doc))),1); - if( tnode_cpy == NULL ) - break; - element = x_PmmNodeToSv(tnode_cpy,SvPROXYNODE(owner_doc)); - } - XPUSHs( sv_2mortal(element) ); - } + { + const char * cls = "XML::LibXML::Node"; + xmlNodePtr tnode = NULL; + SV * element = NULL; + int i; + for(i=0; i < nodelist->nodeNr; i++ ){ + tnode = nodelist->nodeTab[i]; + /* need to copy the node as libxml2 will free it */ + if (tnode->type == XML_NAMESPACE_DECL) { + element = sv_newmortal(); + cls = x_PmmNodeTypeName( tnode ); + element = sv_setref_pv( element, + (const char *)cls, + (void *)xmlCopyNamespace((xmlNsPtr)tnode) + ); + } + else { + xmlNodePtr tnode_cpy = xmlDocCopyNode(tnode,INT2PTR(xmlDocPtr,x_PmmNODE(SvPROXYNODE(owner_doc))),1); + if( tnode_cpy == NULL ) + break; + element = x_PmmNodeToSv(tnode_cpy,SvPROXYNODE(owner_doc)); + } + XPUSHs( sv_2mortal(element) ); + } + } break; case XPATH_BOOLEAN: XPUSHs(sv_2mortal(newSVpv("XML::LibXML::Boolean", 0))); @@ -517,6 +519,8 @@ int count; xmlNodePtr result; + dSP; + wrapper = (SV *) ctxt->_private; key = newSVpvn("", 0); @@ -538,7 +542,6 @@ SvREFCNT_dec(key); - dSP; ENTER; SAVETMPS; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXSLT-1.75/MANIFEST new/XML-LibXSLT-1.76/MANIFEST --- old/XML-LibXSLT-1.75/MANIFEST 2011-10-28 17:28:00.000000000 +0200 +++ new/XML-LibXSLT-1.76/MANIFEST 2012-01-12 18:16:23.000000000 +0100 @@ -40,4 +40,5 @@ t/rt71345_b.t testcases/default.conf typemap -META.yml Module meta-data (added by MakeMaker) +META.yml Module YAML meta-data (added by MakeMaker) +META.json Module JSON meta-data (added by MakeMaker) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXSLT-1.75/META.json new/XML-LibXSLT-1.76/META.json --- old/XML-LibXSLT-1.75/META.json 1970-01-01 01:00:00.000000000 +0100 +++ new/XML-LibXSLT-1.76/META.json 2012-01-12 18:16:23.000000000 +0100 @@ -0,0 +1,44 @@ +{ + "abstract" : "Interface to Gnome libxslt library", + "author" : [ + "Matt Sergeant" + ], + "dynamic_config" : 1, + "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.113640", + "license" : [ + "unknown" + ], + "meta-spec" : { + "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec", + "version" : "2" + }, + "name" : "XML-LibXSLT", + "no_index" : { + "directory" : [ + "t", + "inc" + ] + }, + "prereqs" : { + "build" : { + "requires" : { + "ExtUtils::MakeMaker" : 0 + } + }, + "configure" : { + "requires" : { + "ExtUtils::MakeMaker" : 0 + } + }, + "runtime" : { + "requires" : { + "Encode" : 0, + "XML::LibXML" : "1.70", + "strict" : 0, + "warnings" : 0 + } + } + }, + "release_status" : "stable", + "version" : "1.76" +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/XML-LibXSLT-1.75/META.yml new/XML-LibXSLT-1.76/META.yml --- old/XML-LibXSLT-1.75/META.yml 2011-10-28 17:28:00.000000000 +0200 +++ new/XML-LibXSLT-1.76/META.yml 2012-01-12 18:16:23.000000000 +0100 @@ -1,25 +1,25 @@ ---- #YAML:1.0 -name: XML-LibXSLT -version: 1.75 -abstract: Interface to Gnome libxslt library +--- +abstract: 'Interface to Gnome libxslt library' author: - - Matt Sergeant -license: unknown -distribution_type: module -configure_requires: - ExtUtils::MakeMaker: 0 + - 'Matt Sergeant' build_requires: - ExtUtils::MakeMaker: 0 -requires: - Encode: 0 - strict: 0 - warnings: 0 - XML::LibXML: 1.70 -no_index: - directory: - - t - - inc -generated_by: ExtUtils::MakeMaker version 6.57_05 + ExtUtils::MakeMaker: 0 +configure_requires: + ExtUtils::MakeMaker: 0 +dynamic_config: 1 +generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.113640' +license: unknown meta-spec: - url: http://module-build.sourceforge.net/META-spec-v1.4.html - version: 1.4 + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 +name: XML-LibXSLT +no_index: + directory: + - t + - inc +requires: + Encode: 0 + XML::LibXML: 1.70 + strict: 0 + warnings: 0 +version: 1.76 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de