From 1664cc23b84f1f6bb577ce41af4c556e64c6e77e1a7a5510bbb823e94a0953a2 Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Thu, 19 Oct 2017 11:48:50 +0000 Subject: [PATCH 1/4] Accepting request 535129 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/535129 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-LibXML?expand=0&rev=73 --- XML-LibXML-2.0129.tar.gz | 3 --- XML-LibXML-2.0130.tar.gz | 3 +++ perl-XML-LibXML.changes | 13 +++++++++++++ perl-XML-LibXML.spec | 26 +++++++++++--------------- 4 files changed, 27 insertions(+), 18 deletions(-) delete mode 100644 XML-LibXML-2.0129.tar.gz create mode 100644 XML-LibXML-2.0130.tar.gz diff --git a/XML-LibXML-2.0129.tar.gz b/XML-LibXML-2.0129.tar.gz deleted file mode 100644 index 07dc009..0000000 --- a/XML-LibXML-2.0129.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5ca0269ba06800c84061a7f3333c85fab5584d69cd7b4e0641963da7fd36b366 -size 468838 diff --git a/XML-LibXML-2.0130.tar.gz b/XML-LibXML-2.0130.tar.gz new file mode 100644 index 0000000..71324b3 --- /dev/null +++ b/XML-LibXML-2.0130.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30741712e6b0a5376dc2157f5415e86be4d7a6ad83e8b10738c26fbae1d35262 +size 414006 diff --git a/perl-XML-LibXML.changes b/perl-XML-LibXML.changes index 8105878..a29f89a 100644 --- a/perl-XML-LibXML.changes +++ b/perl-XML-LibXML.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Oct 19 06:06:07 UTC 2017 - coolo@suse.com + +- updated to 2.0130 + see /usr/share/doc/packages/perl-XML-LibXML/Changes + + 2.0130 2017-10-18 + - Fix the tests with libxml2-2.9.6 . + - https://rt.cpan.org/Public/Bug/Display.html?id=122958 + - Thanks to Daniel Macks for the report and ppisar for a patch. + - setNamespace() Enhancements. + - Thanks to E. Choroba. + ------------------------------------------------------------------- Tue Sep 26 09:44:35 UTC 2017 - tchvatal@suse.com diff --git a/perl-XML-LibXML.spec b/perl-XML-LibXML.spec index ec5d1a4..59db924 100644 --- a/perl-XML-LibXML.spec +++ b/perl-XML-LibXML.spec @@ -16,17 +16,17 @@ # -%define cpan_name XML-LibXML Name: perl-XML-LibXML -Version: 2.0129 +Version: 2.0130 Release: 0 -Summary: Perl Binding for libxml2 -License: Artistic-1.0 OR GPL-1.0+ +%define cpan_name XML-LibXML +Summary: Interface to Gnome libxml2 xml parsing and DOM library +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/XML-LibXML/ Source0: https://cpan.metacpan.org/authors/id/S/SH/SHLOMIF/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml -Patch0: XML-LibXML-2.0129-Adjust-tests-to-libxml2-2.9.5.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(XML::NamespaceSupport) >= 1.07 @@ -44,25 +44,20 @@ Requires: perl(parent) BuildRequires: pkgconfig(libxml-2.0) >= 2.9.0 Provides: perl-XML-LibXML-Common = %{version} Obsoletes: perl-XML-LibXML-Common < %{version} -# /MANUAL END +# MANUAL END %description -This module is an interface to libxml2, providing XML and HTML parsers with -DOM, SAX and XMLReader interfaces, a large subset of DOM Layer 3 interface -and a XML::XPath-like interface to XPath API of libxml2. The module is -split into several packages which are not described in this section; unless -stated otherwise, you only need to 'use XML::LibXML;' in your programs. +Interface to Gnome libxml2 xml parsing and DOM library %prep %setup -q -n %{cpan_name}-%{version} -%patch0 -p1 %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -make %{?_smp_mflags} +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +%{__make} %{?_smp_mflags} %check -make %{?_smp_mflags} test +%{__make} test %install %perl_make_install @@ -70,6 +65,7 @@ make %{?_smp_mflags} test %perl_gen_filelist %files -f %{name}.files +%defattr(-,root,root,755) %doc Changes docs example HACKING.txt README TODO %license LICENSE From 0c5f8133c22374816f605622c93a30ac8ed2967aea6a4f3deba2664f275f89ec Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Thu, 19 Oct 2017 15:12:35 +0000 Subject: [PATCH 2/4] Accepting request 535260 from home:pmonrealgonzalez:branches:devel:languages:perl - Dropped patch merged upstream: * XML-LibXML-2.0129-Adjust-tests-to-libxml2-2.9.5.patch OBS-URL: https://build.opensuse.org/request/show/535260 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-LibXML?expand=0&rev=74 --- ...2.0129-Adjust-tests-to-libxml2-2.9.5.patch | 45 ------------------- perl-XML-LibXML.changes | 2 + 2 files changed, 2 insertions(+), 45 deletions(-) delete mode 100644 XML-LibXML-2.0129-Adjust-tests-to-libxml2-2.9.5.patch diff --git a/XML-LibXML-2.0129-Adjust-tests-to-libxml2-2.9.5.patch b/XML-LibXML-2.0129-Adjust-tests-to-libxml2-2.9.5.patch deleted file mode 100644 index 77565ce..0000000 --- a/XML-LibXML-2.0129-Adjust-tests-to-libxml2-2.9.5.patch +++ /dev/null @@ -1,45 +0,0 @@ -From 14f879ec851e7f5e32f4895fc93dd391cf841eb9 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= -Date: Wed, 20 Sep 2017 17:17:57 +0200 -Subject: [PATCH] Adjust tests to libxml2-2.9.5 -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -libxml2-2.9.5 started accepting empty strings thus -t/48_reader_undef_warning_on_empty_str_rt106830.t test does not make -sense anymore and reports a faluire. - -This patch skips the test when running against libnxml2 >= 2.9.5. - -CPAN RT#122958 - -Signed-off-by: Petr Písař ---- - t/48_reader_undef_warning_on_empty_str_rt106830.t | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -diff --git a/t/48_reader_undef_warning_on_empty_str_rt106830.t b/t/48_reader_undef_warning_on_empty_str_rt106830.t -index 8f704c0..0f656a1 100644 ---- a/t/48_reader_undef_warning_on_empty_str_rt106830.t -+++ b/t/48_reader_undef_warning_on_empty_str_rt106830.t -@@ -30,9 +30,13 @@ use XML::LibXML::Reader; - my $xml_reader = XML::LibXML::Reader->new(string => $empty_xml_doc); - - # TEST -- ok (scalar(!defined($xml_reader)), -- 'xml_reader is undef', -- ); -+ SKIP: { -+ skip 'libxml2 accepts empty strings since 2.9.5 version', 1 -+ if (XML::LibXML::LIBXML_VERSION() >= 20905); -+ ok (scalar(!defined($xml_reader)), -+ 'xml_reader is undef', -+ ); -+ } - - # TEST - eq_or_diff( --- -2.13.5 - diff --git a/perl-XML-LibXML.changes b/perl-XML-LibXML.changes index a29f89a..6680a66 100644 --- a/perl-XML-LibXML.changes +++ b/perl-XML-LibXML.changes @@ -10,6 +10,8 @@ Thu Oct 19 06:06:07 UTC 2017 - coolo@suse.com - Thanks to Daniel Macks for the report and ppisar for a patch. - setNamespace() Enhancements. - Thanks to E. Choroba. +- Dropped patch merged upstream: + * XML-LibXML-2.0129-Adjust-tests-to-libxml2-2.9.5.patch ------------------------------------------------------------------- Tue Sep 26 09:44:35 UTC 2017 - tchvatal@suse.com From fef42b9a8ef662226a3d205b17e2afe741b8e69174360ad04e980f21ac51bc5a Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Thu, 26 Oct 2017 09:34:35 +0000 Subject: [PATCH 3/4] Accepting request 536712 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/536712 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-LibXML?expand=0&rev=75 --- XML-LibXML-2.0130.tar.gz | 3 --- XML-LibXML-2.0131.tar.gz | 3 +++ perl-XML-LibXML.changes | 21 +++++++++++++++++++++ perl-XML-LibXML.spec | 10 +++++++--- 4 files changed, 31 insertions(+), 6 deletions(-) delete mode 100644 XML-LibXML-2.0130.tar.gz create mode 100644 XML-LibXML-2.0131.tar.gz diff --git a/XML-LibXML-2.0130.tar.gz b/XML-LibXML-2.0130.tar.gz deleted file mode 100644 index 71324b3..0000000 --- a/XML-LibXML-2.0130.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:30741712e6b0a5376dc2157f5415e86be4d7a6ad83e8b10738c26fbae1d35262 -size 414006 diff --git a/XML-LibXML-2.0131.tar.gz b/XML-LibXML-2.0131.tar.gz new file mode 100644 index 0000000..bd7044b --- /dev/null +++ b/XML-LibXML-2.0131.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b04c77dea55f9f270e1040e3a1d4f79b81dcdcd4da3e648f92dcf6c80bbe19df +size 469512 diff --git a/perl-XML-LibXML.changes b/perl-XML-LibXML.changes index 6680a66..5006aa0 100644 --- a/perl-XML-LibXML.changes +++ b/perl-XML-LibXML.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Thu Oct 26 06:03:19 UTC 2017 - coolo@suse.com + +- updated to 2.0131 + see /usr/share/doc/packages/perl-XML-LibXML/Changes + +------------------------------------------------------------------- +Wed Oct 25 06:00:07 UTC 2017 - coolo@suse.com + +- updated to 2.0131 + see /usr/share/doc/packages/perl-XML-LibXML/Changes + + 2.0131 2017-10-24 + - Re-include the missing *.pod documents. + - https://rt.cpan.org/Ticket/Display.html?id=123362 + - Thanks to Stephen for the report. + - Add t/pod-files-presence.t to test for it in the future. + - Merge https://github.com/shlomif/perl-XML-LibXML/pull/8 + - Fix bug in Node::replaceChild() + - Thanks to @Mipu94 . + ------------------------------------------------------------------- Thu Oct 19 06:06:07 UTC 2017 - coolo@suse.com diff --git a/perl-XML-LibXML.spec b/perl-XML-LibXML.spec index 59db924..3d34555 100644 --- a/perl-XML-LibXML.spec +++ b/perl-XML-LibXML.spec @@ -17,10 +17,10 @@ Name: perl-XML-LibXML -Version: 2.0130 +Version: 2.0131 Release: 0 %define cpan_name XML-LibXML -Summary: Interface to Gnome libxml2 xml parsing and DOM library +Summary: Perl Binding for libxml2 License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/XML-LibXML/ @@ -47,7 +47,11 @@ Obsoletes: perl-XML-LibXML-Common < %{version} # MANUAL END %description -Interface to Gnome libxml2 xml parsing and DOM library +This module is an interface to libxml2, providing XML and HTML parsers with +DOM, SAX and XMLReader interfaces, a large subset of DOM Layer 3 interface +and a XML::XPath-like interface to XPath API of libxml2. The module is +split into several packages which are not described in this section; unless +stated otherwise, you only need to 'use XML::LibXML;' in your programs. %prep %setup -q -n %{cpan_name}-%{version} From 4b0d946bfa01eeff9bfa54bb771bef87259d5a5566114dd583caf8991923ac78 Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Thu, 26 Oct 2017 09:48:11 +0000 Subject: [PATCH 4/4] Accepting request 536756 from home:pmonrealgonzalez:branches:devel:languages:perl OBS-URL: https://build.opensuse.org/request/show/536756 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-LibXML?expand=0&rev=76 --- perl-XML-LibXML.changes | 6 ------ 1 file changed, 6 deletions(-) diff --git a/perl-XML-LibXML.changes b/perl-XML-LibXML.changes index 5006aa0..e39e199 100644 --- a/perl-XML-LibXML.changes +++ b/perl-XML-LibXML.changes @@ -1,9 +1,3 @@ -------------------------------------------------------------------- -Thu Oct 26 06:03:19 UTC 2017 - coolo@suse.com - -- updated to 2.0131 - see /usr/share/doc/packages/perl-XML-LibXML/Changes - ------------------------------------------------------------------- Wed Oct 25 06:00:07 UTC 2017 - coolo@suse.com