Sync from SUSE:SLFO:Main perl-XML-Structured revision 54dca46a229048b2ac2b826b38b2ff7d
This commit is contained in:
commit
55e872c8c9
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
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.
34
perl-XML-Structured.changes
Normal file
34
perl-XML-Structured.changes
Normal file
@ -0,0 +1,34 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- updated to version 1.2 (some from Leap 42.1)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 13:36:21 UTC 2010 - coolo@novell.com
|
||||
|
||||
- switch to perl_requires macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 24 19:34:00 UTC 2010 - jw@novell.com
|
||||
|
||||
- added test suite dependencies, more tests.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 24 18:47:58 UTC 2010 - jw@novell.com
|
||||
|
||||
- added test suite.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 22 08:53:16 UTC 2010 - cwh@novell.com
|
||||
|
||||
- Packaged in obs the first time. Version 1.1 from git, not (yet) on cpan
|
||||
|
62
perl-XML-Structured.spec
Normal file
62
perl-XML-Structured.spec
Normal file
@ -0,0 +1,62 @@
|
||||
#
|
||||
# spec file for package perl-XML-Structured
|
||||
#
|
||||
# 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
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
# define the name from CPAN
|
||||
%define cpan_name XML-Structured
|
||||
Name: perl-XML-Structured
|
||||
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: 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
|
||||
BuildRequires: perl(Test::More)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
Provides a way to convert XML data into a predefined perl data structure and
|
||||
back to XML. Unlike with modules like XML::Simple, it is an error if the XML
|
||||
data does not match the provided skeleton (the "DTD").
|
||||
Another advantage is that the order of the attributes and elements is taken
|
||||
from the DTD when converting back to xml.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="%{optflags} -Wall"
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
PREFERRED_PARSER=XML::Parser make %{?_smp_mflags} test || exit 1
|
||||
PREFERRED_PARSER=XML::SAX make %{?_smp_mflags} test || exit 1
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%doc MANIFEST README
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user