Hello community,

here is the log from the commit of package perl-XML-LibXSLT for 
openSUSE:Factory checked in at 2017-12-14 10:50:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-XML-LibXSLT (Old)
 and      /work/SRC/openSUSE:Factory/.perl-XML-LibXSLT.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-XML-LibXSLT"

Thu Dec 14 10:50:23 2017 rev:34 rq:554844 version:1.95

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-XML-LibXSLT/perl-XML-LibXSLT.changes        
2015-02-11 16:32:07.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-XML-LibXSLT.new/perl-XML-LibXSLT.changes   
2017-12-14 10:50:25.216072360 +0100
@@ -1,0 +2,10 @@
+Mon Dec  4 14:02:29 UTC 2017 - pmonrealgonza...@suse.com
+
+- updated to 1.95
+    - Hopefully fix RT#116461
+        - https://rt.cpan.org/Public/Bug/Display.html?id=116461
+        - Makefile.PL shouldn't run "pkg-config libexslt" if LIBS
+         or INC were provided
+        - Thanks to NWELLNHOF for the report and a suggested fix.
+
+-------------------------------------------------------------------

Old:
----
  XML-LibXSLT-1.94.tar.gz

New:
----
  XML-LibXSLT-1.95.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-XML-LibXSLT.spec ++++++
--- /var/tmp/diff_new_pack.WitEyH/_old  2017-12-14 10:50:26.216024089 +0100
+++ /var/tmp/diff_new_pack.WitEyH/_new  2017-12-14 10:50:26.216024089 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-XML-LibXSLT
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           perl-XML-LibXSLT
-Version:        1.94
+Version:        1.95
 Release:        0
 %define cpan_name XML-LibXSLT
 Summary:        Interface to the GNOME libxslt library

++++++ XML-LibXSLT-1.94.tar.gz -> XML-LibXSLT-1.95.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/XML-LibXSLT-1.94/Changes new/XML-LibXSLT-1.95/Changes
--- old/XML-LibXSLT-1.94/Changes        2015-01-19 09:43:45.000000000 +0100
+++ new/XML-LibXSLT-1.95/Changes        2016-07-30 13:09:21.000000000 +0200
@@ -1,5 +1,12 @@
 Revision history for Perl extension XML::LibXSLT.
 
+1.95    2016-07-30
+    - Hopefully fix RT#116461
+        - https://rt.cpan.org/Public/Bug/Display.html?id=116461
+        - “Makefile.PL shouldn't run "pkg-config libexslt" if LIBS or INC were
+        provided”
+        - Thanks to NWELLNHOF for the report and a suggested fix.
+
 1.94    2015-01-19
     - Fix builds on older versions of libxslt.
         - Breakage caused by the MaxVars change.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/XML-LibXSLT-1.94/LibXSLT.pm 
new/XML-LibXSLT-1.95/LibXSLT.pm
--- old/XML-LibXSLT-1.94/LibXSLT.pm     2015-01-19 09:47:31.000000000 +0100
+++ new/XML-LibXSLT-1.95/LibXSLT.pm     2016-07-30 13:10:57.000000000 +0200
@@ -29,7 +29,7 @@
 
 require Exporter;
 
-$VERSION = '1.94';
+$VERSION = '1.95';
 
 require DynaLoader;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/XML-LibXSLT-1.94/META.json 
new/XML-LibXSLT-1.95/META.json
--- old/XML-LibXSLT-1.94/META.json      2015-01-19 09:48:08.000000000 +0100
+++ new/XML-LibXSLT-1.95/META.json      2016-07-30 13:12:00.000000000 +0200
@@ -4,7 +4,7 @@
       "Matt Sergeant"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter 
version 2.142060",
+   "generated_by" : "ExtUtils::MakeMaker version 7.16, CPAN::Meta::Converter 
version 2.150005",
    "license" : [
       "perl_5"
    ],
@@ -48,5 +48,6 @@
          "web" : "https://bitbucket.org/shlomif/perl-xml-libxslt";
       }
    },
-   "version" : "1.94"
+   "version" : "1.95",
+   "x_serialization_backend" : "JSON::PP version 2.27300"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/XML-LibXSLT-1.94/META.yml 
new/XML-LibXSLT-1.95/META.yml
--- old/XML-LibXSLT-1.94/META.yml       2015-01-19 09:48:08.000000000 +0100
+++ new/XML-LibXSLT-1.95/META.yml       2016-07-30 13:12:00.000000000 +0200
@@ -7,7 +7,7 @@
 configure_requires:
   ExtUtils::MakeMaker: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 6.98, CPAN::Meta::Converter version 
2.142060'
+generated_by: 'ExtUtils::MakeMaker version 7.16, CPAN::Meta::Converter version 
2.150005'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,4 +25,5 @@
   warnings: '0'
 resources:
   repository: https://bitbucket.org/shlomif/perl-xml-libxslt
-version: '1.94'
+version: '1.95'
+x_serialization_backend: 'CPAN::Meta::YAML version 0.012'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/XML-LibXSLT-1.94/Makefile.PL 
new/XML-LibXSLT-1.95/Makefile.PL
--- old/XML-LibXSLT-1.94/Makefile.PL    2014-04-10 13:51:27.000000000 +0200
+++ new/XML-LibXSLT-1.95/Makefile.PL    2016-07-30 13:06:53.000000000 +0200
@@ -38,6 +38,10 @@
 }
 delete $config{NO_THREADS};
 
+# We use it several times later. See:
+# https://rt.cpan.org/Public/Bug/Display.html?id=116461
+my $HAVE_USER_DEFINED = (defined($config{LIBS}) or defined($config{INC}) );
+
 unless ( $::is_Win32 ) { # cannot get config in W32
     my $xsltcfg = "xslt-config";
     my $libprefix = $ENV{XSLTPREFIX} || $config{XSLTPREFIX};
@@ -50,7 +54,7 @@
 
     # if a user defined INC and LIBS on the command line we must not
     # override them
-    if ( not defined $config{LIBS} and not defined $config{INC} ) {
+    if ( ! $HAVE_USER_DEFINED ) {
         # get libs and inc from gnome-config
         eval {
             print "running xslt-config... ";
@@ -167,29 +171,31 @@
 
 
 if (have_library($::is_Win32 ? "libexslt" : "exslt")) {
-  my $exslt_defaults = $::is_Win32 ?
-    ($ENV{ACTIVEPERL_MINGW} ? q/-llibexslt.lib/ : q/-llibexslt/) :
-                              q/-lexslt/; # -lgcrypt -lgpg-error/;
-  my $exsltcfg = 'pkg-config libexslt';
-  my ($exslt_libs,$exslt_inc);
-  eval {
-    print "running $exsltcfg... ";
-    $exslt_libs = backtick("$exsltcfg --libs");
-    $exslt_inc = backtick("$exsltcfg --cflags");
-    $exslt_libs =~ s/-l(xml2|xslt|z|m)\s+//g;
-    print "ok\n";
-  };
-  if ($@) {
-    print "failed\n";
-    warn "*** ", $@ if $DEBUG;
-    warn "using fallback values for LIBS and INC\n";
-    # backtick fails if gnome-config didn't exist...
-    $exslt_libs  = $exslt_defaults;
-    $exslt_inc   = '';
-  }
-  $config{LIBS} .= ' '.$exslt_libs;
-  $config{INC} .= ' '.$exslt_inc;
-  $config{DEFINE} .= " -DHAVE_EXSLT"
+    if (! $HAVE_USER_DEFINED) {
+        my $exslt_defaults = $::is_Win32 ?
+        ($ENV{ACTIVEPERL_MINGW} ? q/-llibexslt.lib/ : q/-llibexslt/) :
+        q/-lexslt/; # -lgcrypt -lgpg-error/;
+        my $exsltcfg = 'pkg-config libexslt';
+        my ($exslt_libs,$exslt_inc);
+        eval {
+            print "running $exsltcfg... ";
+            $exslt_libs = backtick("$exsltcfg --libs");
+            $exslt_inc = backtick("$exsltcfg --cflags");
+            $exslt_libs =~ s/-l(xml2|xslt|z|m)\s+//g;
+            print "ok\n";
+        };
+        if ($@) {
+            print "failed\n";
+            warn "*** ", $@ if $DEBUG;
+            warn "using fallback values for LIBS and INC\n";
+            # backtick fails if gnome-config didn't exist...
+            $exslt_libs  = $exslt_defaults;
+            $exslt_inc   = '';
+        }
+        $config{LIBS} .= ' '.$exslt_libs;
+        $config{INC} .= ' '.$exslt_inc;
+    }
+    $config{DEFINE} .= " -DHAVE_EXSLT"
 }
 
 $config{LIBS}.=' '.$Config{libs};


Reply via email to