Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-XML-LibXSLT for 
openSUSE:Factory checked in at 2023-02-14 16:42:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-XML-LibXSLT (Old)
 and      /work/SRC/openSUSE:Factory/.perl-XML-LibXSLT.new.27156 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-XML-LibXSLT"

Tue Feb 14 16:42:36 2023 rev:40 rq:1065538 version:2.002001

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-XML-LibXSLT/perl-XML-LibXSLT.changes        
2022-06-03 14:16:45.605323794 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-XML-LibXSLT.new.27156/perl-XML-LibXSLT.changes 
    2023-02-14 16:42:37.217444910 +0100
@@ -1,0 +2,10 @@
+Sat Feb 11 03:08:17 UTC 2023 - Tina Müller <timueller+p...@suse.de>
+
+- updated to 2.002001
+   see /usr/share/doc/packages/perl-XML-LibXSLT/Changes
+
+  2.002001    2023-02-10
+      - Makefile.PL
+          - Corrections and refactorings
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ perl-XML-LibXSLT.spec ++++++
--- /var/tmp/diff_new_pack.vywaR6/_old  2023-02-14 16:42:37.689447711 +0100
+++ /var/tmp/diff_new_pack.vywaR6/_new  2023-02-14 16:42:37.693447735 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-XML-LibXSLT
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 %define cpan_name XML-LibXSLT
 Name:           perl-XML-LibXSLT
-Version:        2.002000
+Version:        2.002001
 Release:        0
 License:        Artistic-1.0 OR GPL-1.0-or-later
 Summary:        Interface to GNOME libxslt library
@@ -27,7 +27,9 @@
 Source1:        cpanspec.yml
 BuildRequires:  perl
 BuildRequires:  perl-macros
+BuildRequires:  perl(File::Path) >= 2.060000
 BuildRequires:  perl(XML::LibXML) >= 1.70
+Requires:       perl(File::Path) >= 2.060000
 Requires:       perl(XML::LibXML) >= 1.70
 %{perl_requires}
 # MANUAL BEGIN

++++++ XML-LibXSLT-2.002000.tar.gz -> XML-LibXSLT-2.002001.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/XML-LibXSLT-2.002000/Changes 
new/XML-LibXSLT-2.002001/Changes
--- old/XML-LibXSLT-2.002000/Changes    2022-05-17 19:37:02.000000000 +0200
+++ new/XML-LibXSLT-2.002001/Changes    2023-02-10 13:01:47.000000000 +0100
@@ -1,5 +1,9 @@
 Revision history for Perl extension XML::LibXSLT.
 
+2.002001    2023-02-10
+    - Makefile.PL
+        - Corrections and refactorings
+
 2.002000    2022-05-17
     - lib/XML/LibXSLT/Quick.pm .
         - clarify license
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/XML-LibXSLT-2.002000/META.json 
new/XML-LibXSLT-2.002001/META.json
--- old/XML-LibXSLT-2.002000/META.json  2022-05-17 19:38:53.000000000 +0200
+++ new/XML-LibXSLT-2.002001/META.json  2023-02-10 13:03:19.000000000 +0100
@@ -4,7 +4,7 @@
       "Matt Sergeant"
    ],
    "dynamic_config" : 1,
-   "generated_by" : "ExtUtils::MakeMaker version 7.64, CPAN::Meta::Converter 
version 2.150010",
+   "generated_by" : "ExtUtils::MakeMaker version 7.66, CPAN::Meta::Converter 
version 2.150010",
    "license" : [
       "perl_5"
    ],
@@ -27,12 +27,15 @@
       },
       "configure" : {
          "requires" : {
-            "ExtUtils::MakeMaker" : "0"
+            "File::Path" : "2.06",
+            "strict" : "0",
+            "warnings" : "0"
          }
       },
       "runtime" : {
          "requires" : {
             "Encode" : "0",
+            "File::Path" : "2.06",
             "XML::LibXML" : "1.70",
             "perl" : "5.014",
             "strict" : "0",
@@ -48,6 +51,6 @@
          "web" : "https://github.com/shlomif/perl-XML-LibXSLT";
       }
    },
-   "version" : "2.002000",
-   "x_serialization_backend" : "JSON::PP version 4.06"
+   "version" : "2.002001",
+   "x_serialization_backend" : "JSON::PP version 4.11"
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/XML-LibXSLT-2.002000/META.yml 
new/XML-LibXSLT-2.002001/META.yml
--- old/XML-LibXSLT-2.002000/META.yml   2022-05-17 19:38:53.000000000 +0200
+++ new/XML-LibXSLT-2.002001/META.yml   2023-02-10 13:03:19.000000000 +0100
@@ -5,9 +5,11 @@
 build_requires:
   ExtUtils::MakeMaker: '0'
 configure_requires:
-  ExtUtils::MakeMaker: '0'
+  File::Path: '2.06'
+  strict: '0'
+  warnings: '0'
 dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.64, CPAN::Meta::Converter version 
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.66, CPAN::Meta::Converter version 
2.150010'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -19,11 +21,12 @@
     - inc
 requires:
   Encode: '0'
+  File::Path: '2.06'
   XML::LibXML: '1.70'
   perl: '5.014'
   strict: '0'
   warnings: '0'
 resources:
   repository: https://github.com/shlomif/perl-XML-LibXSLT
-version: '2.002000'
+version: '2.002001'
 x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/XML-LibXSLT-2.002000/Makefile.PL 
new/XML-LibXSLT-2.002001/Makefile.PL
--- old/XML-LibXSLT-2.002000/Makefile.PL        2022-05-17 16:19:15.000000000 
+0200
+++ new/XML-LibXSLT-2.002001/Makefile.PL        2023-02-10 12:58:01.000000000 
+0100
@@ -2,12 +2,13 @@
 use warnings;
 use 5.014;
 
-use vars qw/$DEVNULL $is_Win32/;
+use vars qw/ $DEVNULL $is_Win32 /;
 
 use ExtUtils::MakeMaker;
 use Config;
 use Cwd qw/ cwd /;
 use File::Spec ();
+use File::Path 2.06 qw( make_path remove_tree );
 
 BEGIN {
     $::is_Win32 = ($^O =~ /Win32/);
@@ -31,11 +32,10 @@
 
 my $DEBUG = delete $config{DEBUG};
 
-if ( $config{NO_THREADS} ) {
-  warn "disabling XML::LibXML support for Perl threads\n";
-  $config{DEFINE} .= " -DNO_XML_LIBXML_THREADS";
+if ( delete $config{NO_THREADS} ) {
+    warn "disabling XML::LibXML support for Perl threads\n";
+    $config{DEFINE} .= " -DNO_XML_LIBXML_THREADS";
 }
-delete $config{NO_THREADS};
 
 # We use it several times later. See:
 # https://rt.cpan.org/Public/Bug/Display.html?id=116461
@@ -88,8 +88,8 @@
 EOF
             }
 
-            $config{LIBS} ||= backtick("$xsltcfg --libs");
-            $config{INC} ||= backtick("$xsltcfg --cflags");
+            ($config{LIBS} ||= '' ) .= backtick("$xsltcfg --libs");
+            ($config{INC} ||= '') .= backtick("$xsltcfg --cflags");
             print "ok\n";
         };
         my $Err = $@;
@@ -102,8 +102,8 @@
             warn "*** ", $@ if $DEBUG;
             warn "using fallback values for LIBS and INC\n";
             # backtick fails if gnome-config didn't exist...
-            $config{LIBS} = '-L/usr/local/lib -L/usr/lib -lxslt -lxml2 -lz 
-lm';
-            $config{INC} = '-I/usr/local/include -I/usr/include';
+            ($config{LIBS} ||= '' ) .= ' -L/usr/local/lib -L/usr/lib -lxslt 
-lxml2 -lz -lm';
+            ($config{INC} ||= '') .= ' -I/usr/local/include -I/usr/include';
 
             print <<"OPT";
 options:
@@ -226,11 +226,23 @@
     'PREREQ_PM' =>
     {
         'Encode' => 0,
+        'File::Path' => "2.06",
         'XML::LibXML' => "1.70",
         'strict' => 0,
         'warnings' => 0,
     },
     'OBJECT'     => '$(O_FILES)',
+    (($ExtUtils::MakeMaker::VERSION >= 6.52)
+        ? (
+            'CONFIGURE_REQUIRES' =>
+            {
+                'File::Path' => "2.06",
+                'strict' => 0,
+                'warnings' => 0,
+            },
+        )
+        : ()
+    ),
     (($ExtUtils::MakeMaker::VERSION >= 6.48)
         ? (MIN_PERL_VERSION => '5.014',)
         : ()
@@ -255,39 +267,6 @@
 #  - these should really be in MakeMaker... But &shrug;
 ###################################################################
 
-sub rm_f {
-    my @files = @_;
-    my @realfiles;
-    foreach my $pat (@files) {
-        push @realfiles, glob($pat);
-    }
-    if (@realfiles) {
-        chmod(0777, @realfiles);
-        unlink(@realfiles);
-    }
-}
-
-sub rm_fr {
-    my @files = @_;
-    my @realfiles;
-    foreach my $pat (@files) {
-        push @realfiles, glob($pat);
-    }
-    foreach my $file (@realfiles) {
-        if (-d $file) {
-            # warn("$file is a directory\n");
-            rm_fr("$file/*");
-            rm_fr("$file/.exists");
-            rmdir($file) || die "Couldn't remove $file: $!";
-        }
-        else {
-            # warn("removing $file\n");
-            chmod(0777, $file);
-            unlink($file);
-        }
-    }
-}
-
 sub xsystem {
     my (@command)=@_;
     if ($DEBUG) {
@@ -369,7 +348,7 @@
     # local $config{LIBS};
     # $config{LIBS} .= $opt;
     unless (mkdir(".testlink", 0777)) {
-        rm_fr(".testlink");
+        remove_tree(".testlink");
         mkdir(".testlink", 0777) || die "Cannot create .testlink dir: $!";
     }
     chdir(".testlink");
@@ -428,7 +407,7 @@
     };
     warn $@ if $DEBUG && $@;
     chdir($start_dir);
-    rm_fr(".testlink");
+    remove_tree(".testlink");
     return $result;
 }
 
@@ -463,10 +442,11 @@
             }
         }
         else {
-
+            # Use a fake prototype in the style of autoconf.
             $result = try_link(<<"SRC", $libs);
-blank() { return 0; }
-int t() { ${func}(); return 0; }
+char blank(void) { return 0; }
+char ${func}(void);
+int t(void) { ${func}(); return 0; }
 SRC
         }
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/XML-LibXSLT-2.002000/lib/XML/LibXSLT/Quick.pm 
new/XML-LibXSLT-2.002001/lib/XML/LibXSLT/Quick.pm
--- old/XML-LibXSLT-2.002000/lib/XML/LibXSLT/Quick.pm   2022-05-17 
19:35:12.000000000 +0200
+++ new/XML-LibXSLT-2.002001/lib/XML/LibXSLT/Quick.pm   2023-02-10 
12:55:19.000000000 +0100
@@ -12,7 +12,7 @@
 
 use vars qw( $VERSION );
 
-$VERSION = '2.002000';
+$VERSION = '2.002001';
 
 sub stylesheet
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/XML-LibXSLT-2.002000/lib/XML/LibXSLT.pm 
new/XML-LibXSLT-2.002001/lib/XML/LibXSLT.pm
--- old/XML-LibXSLT-2.002000/lib/XML/LibXSLT.pm 2022-05-17 19:36:05.000000000 
+0200
+++ new/XML-LibXSLT-2.002001/lib/XML/LibXSLT.pm 2023-02-10 12:55:00.000000000 
+0100
@@ -30,7 +30,7 @@
 
     require Exporter;
 
-    $VERSION = '2.002000';
+    $VERSION = '2.002001';
 
     require DynaLoader;
 

Reply via email to