From 1e8b62227e44c6923d58b976a16ab8f23b179fccac040a7d68fbc45fda58127c Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Sat, 5 Dec 2015 17:09:36 +0000 Subject: [PATCH] Accepting request 347549 from devel:languages:perl:autoupdate automatic update OBS-URL: https://build.opensuse.org/request/show/347549 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Simple?expand=0&rev=18 --- XML-Simple-2.20.tar.gz | 3 --- XML-Simple-2.22.tar.gz | 3 +++ cpanspec.yml | 23 +++++++++++++++++++++++ perl-XML-Simple.changes | 31 +++++++++++++++++++++++++++++++ perl-XML-Simple.spec | 19 ++++++++++--------- 5 files changed, 67 insertions(+), 12 deletions(-) delete mode 100644 XML-Simple-2.20.tar.gz create mode 100644 XML-Simple-2.22.tar.gz create mode 100644 cpanspec.yml diff --git a/XML-Simple-2.20.tar.gz b/XML-Simple-2.20.tar.gz deleted file mode 100644 index b1af1e6..0000000 --- a/XML-Simple-2.20.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5cff13d0802792da1eb45895ce1be461903d98ec97c9c953bc8406af7294434a -size 75993 diff --git a/XML-Simple-2.22.tar.gz b/XML-Simple-2.22.tar.gz new file mode 100644 index 0000000..92f6046 --- /dev/null +++ b/XML-Simple-2.22.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b9450ef22ea9644ae5d6ada086dc4300fa105be050a2030ebd4efd28c198eb49 +size 77937 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,23 @@ +--- +#description_paragraphs: 3 +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#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 +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-XML-Simple.changes b/perl-XML-Simple.changes index 420d1ed..aa1283e 100644 --- a/perl-XML-Simple.changes +++ b/perl-XML-Simple.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Sat Dec 5 10:48:07 UTC 2015 - coolo@suse.com + +- updated to 2.22 + see /usr/share/doc/packages/perl-XML-Simple/Changes + + 2.22 2015-12-05 11:08:20+13:00 Pacific/Auckland + - POD fix in link to package XML::SAX::ParseFactory (from Mohammad S Anwar) + - allow subclass to override attribute escaping (from Christopher Masto) + - POD fix adding NAME section to FAQ (RT#110080 from Bart Martens & gregor + herrmann of the Debian project) + - POD typo fix (RT#110082 from gregor herrmann of the Debian project) + - fix reference comparison operator used in checking for circular data + structures (RT#89553 from Laurent Dami) + - add better diagnostics from file handling code in test suite + + 2.21 2015-12-04 16:33:49+13:00 Pacific/Auckland + - Improved diagnostics - xml_in() will now catch parse exceptions and add + caller information via Carp::croak + - Switch to use lexical warnings (suppress with either 'no warnings;' or + 'no warnings "XML::Simple";', rather than $^W = 0) + - POD fixes (from David Steinbrunner) + - Regex escaping fixes for Perl 5.22+ (from Kent Fredric) + - Add workaround for test failures on RHEL/CentOS 6.5 (RT#102115 from + Chris Drake, workaround from Tim Bunce) + - Remove some 'eval' calls from test suite which could mask root cause of + test failures + - Make each test script use unique filenames to allow tests to be run in + parallel (RT#101362 from Karen Etheridge & Kent Fredric) + - POD update: mention XML::Twig in 'STATUS' section (RT#79228 from Matt Trout) + ------------------------------------------------------------------- Thu Jun 26 07:02:07 UTC 2014 - lchiquitto@suse.com diff --git a/perl-XML-Simple.spec b/perl-XML-Simple.spec index 09d8e9a..d460c7b 100644 --- a/perl-XML-Simple.spec +++ b/perl-XML-Simple.spec @@ -1,7 +1,7 @@ # # spec file for package perl-XML-Simple # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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,14 +17,15 @@ Name: perl-XML-Simple -Version: 2.20 +Version: 2.22 Release: 0 %define cpan_name XML-Simple -Summary: Easily read/write XML (esp config files) +Summary: An API for simple XML files License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/XML-Simple/ -Source: http://www.cpan.org/authors/id/G/GR/GRANTM/%{cpan_name}-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/G/GR/GRANTM/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -42,13 +43,13 @@ Requires: perl(XML::SAX::Expat) The XML::Simple module provides a simple API layer on top of an underlying XML parsing module (either XML::Parser or one of the SAX2 parser modules). Two functions are exported: 'XMLin()' and 'XMLout()'. Note: you can -explicity request the lower case versions of the function names: 'xml_in()' -and 'xml_out()'. +explicitly request the lower case versions of the function names: +'xml_in()' and 'xml_out()'. The simplest approach is to call these two functions directly, but an -optional object oriented interface (see the "OPTIONAL OO INTERFACE" manpage -below) allows them to be called as methods of an *XML::Simple* object. The -object interface can also be used at either end of a SAX pipeline. +optional object oriented interface (see "OPTIONAL OO INTERFACE" below) +allows them to be called as methods of an *XML::Simple* object. The object +interface can also be used at either end of a SAX pipeline. %prep %setup -q -n %{cpan_name}-%{version}