forked from pool/perl-XML-Structured
Accepting request 718220 from home:mlschroe:branches:devel:languages:perl
-> OBS-URL: https://build.opensuse.org/request/show/718220 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Structured?expand=0&rev=8
This commit is contained in:
BIN
XML-Structured-1.2.tar.bz2
(Stored with Git LFS)
BIN
XML-Structured-1.2.tar.bz2
(Stored with Git LFS)
Binary file not shown.
BIN
XML-Structured-1.3.tar.gz
(Stored with Git LFS)
Normal file
BIN
XML-Structured-1.3.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 24 13:30:09 CEST 2019 - mls@suse.de
|
||||
|
||||
- update to version 1.3
|
||||
* fixed utf8 handling
|
||||
* faster parsing with SAX
|
||||
* guard against xml xxe attacks
|
||||
* test suite
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 3 12:56:56 UTC 2016 - astieger@suse.com
|
||||
|
||||
|
@@ -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 @@ perl Makefile.PL OPTIMIZE="%{optflags} -Wall"
|
||||
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 @@ make %{?_smp_mflags} test
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%doc MANIFEST README speed test
|
||||
%doc MANIFEST README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user