Hello community,
here is the log from the commit of package perl-XML-LibXSLT for
openSUSE:Factory checked in at 2020-01-19 20:53:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-XML-LibXSLT (Old)
and /work/SRC/openSUSE:Factory/.perl-XML-LibXSLT.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-LibXSLT"
Sun Jan 19 20:53:45 2020 rev:37 rq:765228 version:1.99
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-XML-LibXSLT/perl-XML-LibXSLT.changes
2019-12-07 15:23:24.451728652 +0100
+++
/work/SRC/openSUSE:Factory/.perl-XML-LibXSLT.new.26092/perl-XML-LibXSLT.changes
2020-01-19 20:54:17.091950886 +0100
@@ -1,0 +2,39 @@
+Fri Jan 17 10:53:14 UTC 2020 - Tina Müller <[email protected]>
+
+- Remove patch perl-XML-LibXSLT-lib-versions.patch (not needed anymore)
+
+-------------------------------------------------------------------
+Fri Jan 17 03:13:08 UTC 2020 - <[email protected]>
+
+- updated to 1.99
+ see /usr/share/doc/packages/perl-XML-LibXSLT/Changes
+
+ 1.99 2020-01-16
+ - Remove checks for libxslt versions
+ - https://rt.cpan.org/Ticket/Display.html?id=131155
+ - Thanks to SREZIC and others
+ - These checks were much maligned.
+
+ 1.98 2020-01-16
+ - Replace xslt-config with plkg-config
+ - The former is going away
+ - https://github.com/shlomif/perl-XML-LibXSLT/pull/3
+ - Thanks to Debian.
+
+-------------------------------------------------------------------
+Wed Jan 15 17:03:36 UTC 2020 - Tina Müller <[email protected]>
+
+- Fix cpanspec.yml (duplicate mentioning of patch)
+
+-------------------------------------------------------------------
+Wed Jan 15 03:13:53 UTC 2020 - <[email protected]>
+
+- updated to 1.97
+ see /usr/share/doc/packages/perl-XML-LibXSLT/Changes
+
+ 1.97 2020-01-14
+ - Tests hot fix for https://rt.cpan.org/Public/Bug/Display.html?id=131457
+ - Tests failed with XML::LibXML v 2.0202
+ - Thanks to jplesnik from Red Hat.
+
+-------------------------------------------------------------------
Old:
----
XML-LibXSLT-1.96.tar.gz
perl-XML-LibXSLT-lib-versions.patch
New:
----
XML-LibXSLT-1.99.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-XML-LibXSLT.spec ++++++
--- /var/tmp/diff_new_pack.J5ZYmG/_old 2020-01-19 20:54:18.179951458 +0100
+++ /var/tmp/diff_new_pack.J5ZYmG/_new 2020-01-19 20:54:18.183951460 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-XML-LibXSLT
#
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 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,15 +17,16 @@
Name: perl-XML-LibXSLT
-Version: 1.96
+Version: 1.99
Release: 0
%define cpan_name XML-LibXSLT
Summary: Interface to the GNOME libxslt library
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
-URL: https://metacpan.org/release/%{cpan_name}
+Url: https://metacpan.org/release/%{cpan_name}
Source0:
https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(XML::LibXML) >= 1.70
@@ -33,7 +34,6 @@
%{perl_requires}
# MANUAL BEGIN
BuildRequires: libxslt-devel
-Patch0: perl-XML-LibXSLT-lib-versions.patch
# MANUAL END
%description
@@ -43,9 +43,6 @@
%prep
%setup -q -n %{cpan_name}-%{version}
-# MANUAL BEGIN
-%patch0 -p1
-# MANUAL END
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
++++++ XML-LibXSLT-1.96.tar.gz -> XML-LibXSLT-1.99.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXSLT-1.96/Changes new/XML-LibXSLT-1.99/Changes
--- old/XML-LibXSLT-1.96/Changes 2018-02-21 11:14:28.000000000 +0100
+++ new/XML-LibXSLT-1.99/Changes 2020-01-16 17:54:33.000000000 +0100
@@ -1,5 +1,22 @@
Revision history for Perl extension XML::LibXSLT.
+1.99 2020-01-16
+ - Remove checks for libxslt versions
+ - https://rt.cpan.org/Ticket/Display.html?id=131155
+ - Thanks to SREZIC and others
+ - These checks were much maligned.
+
+1.98 2020-01-16
+ - Replace xslt-config with plkg-config
+ - The former is going away
+ - https://github.com/shlomif/perl-XML-LibXSLT/pull/3
+ - Thanks to Debian.
+
+1.97 2020-01-14
+ - Tests hot fix for https://rt.cpan.org/Public/Bug/Display.html?id=131457
+ - Tests failed with XML::LibXML v 2.0202
+ - Thanks to jplesnik from Red Hat.
+
1.96 2018-02-21
- Apply patch from RT#83028
- $Config{libs} is not needed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXSLT-1.96/LibXSLT.pm
new/XML-LibXSLT-1.99/LibXSLT.pm
--- old/XML-LibXSLT-1.96/LibXSLT.pm 2018-02-21 11:15:25.000000000 +0100
+++ new/XML-LibXSLT-1.99/LibXSLT.pm 2020-01-16 17:54:47.000000000 +0100
@@ -29,7 +29,7 @@
require Exporter;
-$VERSION = '1.96';
+$VERSION = '1.99';
require DynaLoader;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXSLT-1.96/META.json
new/XML-LibXSLT-1.99/META.json
--- old/XML-LibXSLT-1.96/META.json 2018-02-21 11:23:13.000000000 +0100
+++ new/XML-LibXSLT-1.99/META.json 2020-01-16 17:56:16.000000000 +0100
@@ -4,13 +4,13 @@
"Matt Sergeant"
],
"dynamic_config" : 1,
- "generated_by" : "ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter
version 2.150010",
+ "generated_by" : "ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter
version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
- "version" : "2"
+ "version" : 2
},
"name" : "XML-LibXSLT",
"no_index" : {
@@ -48,6 +48,6 @@
"web" : "https://github.com/shlomif/perl-XML-LibXSLT"
}
},
- "version" : "1.96",
- "x_serialization_backend" : "JSON::PP version 2.27400_02"
+ "version" : "1.99",
+ "x_serialization_backend" : "JSON::PP version 4.02"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXSLT-1.96/META.yml
new/XML-LibXSLT-1.99/META.yml
--- old/XML-LibXSLT-1.96/META.yml 2018-02-21 11:23:13.000000000 +0100
+++ new/XML-LibXSLT-1.99/META.yml 2020-01-16 17:56:16.000000000 +0100
@@ -7,7 +7,7 @@
configure_requires:
ExtUtils::MakeMaker: '0'
dynamic_config: 1
-generated_by: 'ExtUtils::MakeMaker version 7.24, CPAN::Meta::Converter version
2.150010'
+generated_by: 'ExtUtils::MakeMaker version 7.34, CPAN::Meta::Converter version
2.150010'
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
@@ -25,5 +25,5 @@
warnings: '0'
resources:
repository: https://github.com/shlomif/perl-XML-LibXSLT
-version: '1.96'
+version: '1.99'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXSLT-1.96/Makefile.PL
new/XML-LibXSLT-1.99/Makefile.PL
--- old/XML-LibXSLT-1.96/Makefile.PL 2018-02-21 11:10:43.000000000 +0100
+++ new/XML-LibXSLT-1.99/Makefile.PL 2020-01-16 10:47:46.000000000 +0100
@@ -43,7 +43,7 @@
my $HAVE_USER_DEFINED = (defined($config{LIBS}) or defined($config{INC}) );
unless ( $::is_Win32 ) { # cannot get config in W32
- my $xsltcfg = "xslt-config";
+ my $xsltcfg = "pkg-config libxslt";
my $libprefix = $ENV{XSLTPREFIX} || $config{XSLTPREFIX};
delete $config{XSLTPREFIX}; # delete if exists, otherwise MakeMaker gets
confused
@@ -57,8 +57,8 @@
if ( ! $HAVE_USER_DEFINED ) {
# get libs and inc from gnome-config
eval {
- print "running xslt-config... ";
- my $ver = backtick("$xsltcfg --version");
+ print "running $xsltcfg... ";
+ my $ver = backtick("$xsltcfg --modversion");
my ($major, $minor, $point) = $ver =~ /(\d+)\.(\d+)\.(\d+)/g;
if (not
(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXSLT-1.96/scripts/tag-release.pl
new/XML-LibXSLT-1.99/scripts/tag-release.pl
--- old/XML-LibXSLT-1.96/scripts/tag-release.pl 2018-02-21 10:47:30.000000000
+0100
+++ new/XML-LibXSLT-1.99/scripts/tag-release.pl 2020-01-14 13:07:35.000000000
+0100
@@ -3,25 +3,21 @@
use strict;
use warnings;
-use IO::All;
+use IO::All qw/ io /;
my ($version) =
- (map { m{\$VERSION *= *'([^']+)'} ? ($1) : () }
- io->file('LibXSLT.pm')->getlines()
- )
- ;
+ ( map { m{\$VERSION *= *'([^']+)'} ? ($1) : () }
+ io->file('LibXSLT.pm')->getlines() );
-if (!defined ($version))
+if ( !defined($version) )
{
die "Version is undefined!";
}
my @cmd = (
- "hg", "tag", "-m",
- "Tagging the XML-LibXSLT release as $version",
+ "git", "tag", "-m", "Tagging the XML-LibXSLT release as $version",
"XML-LibXSLT-$version",
);
-print join(" ", map { /\s/ ? qq{"$_"} : $_ } @cmd), "\n";
+print join( " ", map { /\s/ ? qq{"$_"} : $_ } @cmd ), "\n";
exec(@cmd);
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXSLT-1.96/t/01basic.t
new/XML-LibXSLT-1.99/t/01basic.t
--- old/XML-LibXSLT-1.96/t/01basic.t 2018-02-21 10:47:30.000000000 +0100
+++ new/XML-LibXSLT-1.99/t/01basic.t 2020-01-16 17:52:19.000000000 +0100
@@ -3,36 +3,14 @@
use vars qw($loaded);
-use Test::More tests => 4;
+use Test::More tests => 2;
-use XML::LibXSLT;
+use XML::LibXSLT ();
# TEST
-ok(1, ' TODO : Add test name');
+ok( 1, ' use loading worked' );
my $p = XML::LibXSLT->new();
# TEST
-ok($p, ' TODO : Add test name');
-
-# TEST
-is(XML::LibXSLT::LIBXSLT_VERSION(), XML::LibXSLT::LIBXSLT_RUNTIME_VERSION(),
'LIBXSLT_VERSION is the same as the runtime version.');
-
-# TEST
-is(XML::LibXML::LIBXML_VERSION(), XML::LibXML::LIBXML_RUNTIME_VERSION(),
'LibXML version is the same as its run time version.');
-
-warn "\n\nCompiled against: ",
- "libxslt ",XML::LibXSLT::LIBXSLT_VERSION(),
- ", libxml2 ",XML::LibXML::LIBXML_VERSION(),
- "\nRunning: ",
- "libxslt ",XML::LibXSLT::LIBXSLT_RUNTIME_VERSION(),
- ", libxml2 ",XML::LibXML::LIBXML_RUNTIME_VERSION(),
- "\nCompiled with EXSLT: ", (XML::LibXSLT::HAVE_EXSLT() ? 'yes' : 'no'),
- "\n\n";
-
-if (XML::LibXSLT::LIBXSLT_VERSION() != XML::LibXSLT::LIBXSLT_RUNTIME_VERSION()
- or
- XML::LibXML::LIBXML_VERSION() != XML::LibXML::LIBXML_RUNTIME_VERSION()
- ) {
- warn "DO NOT REPORT THIS FAILURE: Your setup of library paths is
incorrect!\n\n";
-}
+ok( $p, ' object was initialized.' );
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/XML-LibXSLT-1.96/t/06entities.t
new/XML-LibXSLT-1.99/t/06entities.t
--- old/XML-LibXSLT-1.96/t/06entities.t 2018-02-21 10:47:30.000000000 +0100
+++ new/XML-LibXSLT-1.99/t/06entities.t 2020-01-14 12:46:45.000000000 +0100
@@ -9,7 +9,7 @@
my $parser = XML::LibXML->new();
my $xslt = XML::LibXSLT->new();
-# $parser->expand_entities(1);
+$parser->expand_entities(1);
my $source = $parser->parse_string(qq{<?xml version="1.0" encoding="UTF-8"?>
<root>foo</root>});
++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.J5ZYmG/_old 2020-01-19 20:54:18.295951519 +0100
+++ /var/tmp/diff_new_pack.J5ZYmG/_new 2020-01-19 20:54:18.295951519 +0100
@@ -4,11 +4,10 @@
#sources:
# - source1
# - source2
-patches:
- perl-XML-LibXSLT-lib-versions.patch: -p1
+#patches:
+# perl-XML-LibXSLT-lib-versions.patch: -p1
preamble: |-
BuildRequires: libxslt-devel
- Patch0: perl-XML-LibXSLT-lib-versions.patch
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL