Hello community,
here is the log from the commit of package perl-XML-Structured for
openSUSE:Factory checked in at 2019-07-28 10:21:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-XML-Structured (Old)
and /work/SRC/openSUSE:Factory/.perl-XML-Structured.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-XML-Structured"
Sun Jul 28 10:21:33 2019 rev:2 rq:718291 version:1.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-XML-Structured/perl-XML-Structured.changes
2016-12-22 15:56:11.193442825 +0100
+++
/work/SRC/openSUSE:Factory/.perl-XML-Structured.new.4126/perl-XML-Structured.changes
2019-07-28 10:21:34.576576512 +0200
@@ -1,0 +2,9 @@
+Wed Jul 24 13:30:09 CEST 2019 - [email protected]
+
+- update to version 1.3
+ * fixed utf8 handling
+ * faster parsing with SAX
+ * guard against xml xxe attacks
+ * test suite
+
+-------------------------------------------------------------------
Old:
----
XML-Structured-1.2.tar.bz2
New:
----
XML-Structured-1.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-XML-Structured.spec ++++++
--- /var/tmp/diff_new_pack.zsFRNh/_old 2019-07-28 10:21:35.704576126 +0200
+++ /var/tmp/diff_new_pack.zsFRNh/_new 2019-07-28 10:21:35.708576125 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-XML-Structured
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -19,28 +19,18 @@
# define the name from CPAN
%define cpan_name XML-Structured
Name: perl-XML-Structured
-Version: 1.2
+Version: 1.3
Release: 0
Summary: Simple conversion API from XML to perl structures and back
License: Artistic-1.0
Group: Development/Libraries/Perl
-Url: http://search.cpan.org/~mls/
-Source: %{cpan_name}-%{version}.tar.bz2
-# perl(XML::Parser) has choice: brp-check-suse perl-XML-Parser
+Url: https://github.com/openSUSE/perl-XML-Structured
+Source: %{cpan_name}-%{version}.tar.gz
BuildRequires: perl-XML-Parser
+BuildRequires: perl-XML-SAX
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} < 1120
-BuildRequires: perl-macros
-%endif
-%if 0%{?suse_version} < 1140
-Requires: perl = %{perl_version}
-%else
+BuildRequires: perl(Test::More)
%{perl_requires}
-%endif
-%if 0%{?suse_version} > 1120
-BuildRequires: perl(Test::Pod)
-BuildRequires: perl(Test::Pod::Coverage)
-%endif
%description
Provides a way to convert XML data into a predefined perl data structure and
@@ -57,7 +47,8 @@
make %{?_smp_mflags}
%check
-make %{?_smp_mflags} test
+PREFERRED_PARSER=XML::Parser make %{?_smp_mflags} test || exit 1
+PREFERRED_PARSER=XML::SAX make %{?_smp_mflags} test || exit 1
%install
%perl_make_install
@@ -66,6 +57,6 @@
%files -f %{name}.files
%defattr(-,root,root)
-%doc MANIFEST README speed test
+%doc MANIFEST README
%changelog