Hello community,
here is the log from the commit of package perl-XML-Parser for openSUSE:Factory
checked in at 2019-10-10 11:47:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-XML-Parser (Old)
and /work/SRC/openSUSE:Factory/.perl-XML-Parser.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-Parser"
Thu Oct 10 11:47:36 2019 rev:34 rq:733384 version:2.46
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-XML-Parser/perl-XML-Parser.changes
2019-09-11 10:15:44.243545427 +0200
+++
/work/SRC/openSUSE:Factory/.perl-XML-Parser.new.2352/perl-XML-Parser.changes
2019-10-10 11:47:39.876241774 +0200
@@ -1,0 +2,11 @@
+Thu Sep 26 09:30:17 UTC 2019 - Tina Mueller <[email protected]>
+
+- Fix syntax for patch in cpanspec.yml
+
+-------------------------------------------------------------------
+Thu Sep 26 09:30:00 UTC 2019 - Tina Mueller <[email protected]>
+
+- updated to 2.46
+ see /usr/share/doc/packages/perl-XML-Parser/Changes
+
+-------------------------------------------------------------------
Old:
----
XML-Parser-2.44.tar.gz
New:
----
XML-Parser-2.46.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-XML-Parser.spec ++++++
--- /var/tmp/diff_new_pack.5pp4HD/_old 2019-10-10 11:47:40.524240055 +0200
+++ /var/tmp/diff_new_pack.5pp4HD/_new 2019-10-10 11:47:40.528240044 +0200
@@ -16,49 +16,50 @@
#
-%define cpan_name XML-Parser
Name: perl-XML-Parser
-Version: 2.44
+Version: 2.46
Release: 0
-Summary: A perl module for parsing XML documents
+%define cpan_name XML-Parser
+Summary: Perl module for parsing XML documents
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
-URL: https://metacpan.org/release/%{cpan_name}
-Source:
https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz
+Url: https://metacpan.org/release/%{cpan_name}
+Source0:
https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
Patch0: XML-Parser-2.40.diff
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
-%{perl_requires}
BuildRequires: perl(LWP::UserAgent)
Requires: perl(LWP::UserAgent)
+%{perl_requires}
# MANUAL BEGIN
BuildRequires: libexpat-devel
# MANUAL END
%description
-This module provides ways to parse XML documents. It is built on top of the
-XML::Parser::Expat manpage, which is a lower level interface to James
-Clark's expat library. Each call to one of the parsing methods creates a
-new instance of XML::Parser::Expat which is then used to parse the
-document. Expat options may be provided when the XML::Parser object is
-created. These options are then passed on to the Expat object on each parse
-call. They can also be given as extra arguments to the parse methods, in
-which case they override options given at XML::Parser creation time.
-
-The behavior of the parser is controlled either by 'the /STYLES manpage'
-and/or 'the /HANDLERS manpage' options, or by the /setHandlers manpage
-method. These all provide mechanisms for XML::Parser to set the handlers
-needed by XML::Parser::Expat. If neither 'Style' nor 'Handlers' are
-specified, then parsing just checks the document for being well-formed.
+This module provides ways to parse XML documents. It is built on top of
+XML::Parser::Expat, which is a lower level interface to James Clark's expat
+library. Each call to one of the parsing methods creates a new instance of
+XML::Parser::Expat which is then used to parse the document. Expat options
+may be provided when the XML::Parser object is created. These options are
+then passed on to the Expat object on each parse call. They can also be
+given as extra arguments to the parse methods, in which case they override
+options given at XML::Parser creation time.
+
+The behavior of the parser is controlled either by 'STYLES' and/or
+'HANDLERS' options, or by setHandlers method. These all provide mechanisms
+for XML::Parser to set the handlers needed by XML::Parser::Expat. If
+neither 'Style' nor 'Handlers' are specified, then parsing just checks the
+document for being well-formed.
When underlying handlers get called, they receive as their first parameter
the _Expat_ object, not the Parser object.
%prep
%setup -q -n %{cpan_name}-%{version}
-%patch0
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
+%patch0
# MANUAL BEGIN
chmod 644 samples/{canonical,xml*}
# MANUAL END
@@ -68,7 +69,7 @@
make %{?_smp_mflags}
%check
-make %{?_smp_mflags} test
+make test
%install
%perl_make_install
@@ -77,6 +78,6 @@
%files -f %{name}.files
%defattr(-,root,root,755)
-%doc Changes README samples/
+%doc Changes README samples
%changelog
++++++ XML-Parser-2.44.tar.gz -> XML-Parser-2.46.tar.gz ++++++
++++ 5764 lines of diff (skipped)
++++++ cpanspec.yml ++++++
--- /var/tmp/diff_new_pack.5pp4HD/_old 2019-10-10 11:47:40.620239799 +0200
+++ /var/tmp/diff_new_pack.5pp4HD/_new 2019-10-10 11:47:40.620239799 +0200
@@ -8,7 +8,9 @@
# - source1
# - source2
patches:
- XML-Parser-2.40.diff
+ XML-Parser-2.40.diff:
+# foo.patch: -p1
+# bar.patch:
preamble: |-
BuildRequires: libexpat-devel
post_prep: |-