8
0

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
This commit is contained in:
2015-12-05 17:09:36 +00:00
committed by Git OBS Bridge
parent 04bf3b01d3
commit 1e8b62227e
5 changed files with 67 additions and 12 deletions

BIN
XML-Simple-2.20.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
XML-Simple-2.22.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

23
cpanspec.yml Normal file
View File

@@ -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

View File

@@ -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 Thu Jun 26 07:02:07 UTC 2014 - lchiquitto@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package perl-XML-Simple # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -17,14 +17,15 @@
Name: perl-XML-Simple Name: perl-XML-Simple
Version: 2.20 Version: 2.22
Release: 0 Release: 0
%define cpan_name XML-Simple %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+ License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/XML-Simple/ 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 BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl 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 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). XML parsing module (either XML::Parser or one of the SAX2 parser modules).
Two functions are exported: 'XMLin()' and 'XMLout()'. Note: you can Two functions are exported: 'XMLin()' and 'XMLout()'. Note: you can
explicity request the lower case versions of the function names: 'xml_in()' explicitly request the lower case versions of the function names:
and 'xml_out()'. 'xml_in()' and 'xml_out()'.
The simplest approach is to call these two functions directly, but an The simplest approach is to call these two functions directly, but an
optional object oriented interface (see the "OPTIONAL OO INTERFACE" manpage optional object oriented interface (see "OPTIONAL OO INTERFACE" below)
below) allows them to be called as methods of an *XML::Simple* object. The allows them to be called as methods of an *XML::Simple* object. The object
object interface can also be used at either end of a SAX pipeline. interface can also be used at either end of a SAX pipeline.
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}