forked from pool/perl-XML-Structured
Accepting request 365331 from home:AndreasStieger:branches:devel:languages:perl
perl-XML-Structured 1.2 OBS-URL: https://build.opensuse.org/request/show/365331 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Structured?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
66d24ea2bf
commit
916d2af7f2
BIN
XML-Structured-1.0.tar.gz
(Stored with Git LFS)
BIN
XML-Structured-1.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
XML-Structured-1.1.tar.bz2
(Stored with Git LFS)
BIN
XML-Structured-1.1.tar.bz2
(Stored with Git LFS)
Binary file not shown.
BIN
XML-Structured-1.2.tar.bz2
(Stored with Git LFS)
Normal file
BIN
XML-Structured-1.2.tar.bz2
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Wed Dec 1 13:36:21 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-XML-Structured
|
# spec file for package perl-XML-Structured
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2016 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
|
||||||
@@ -16,30 +16,36 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-XML-Structured
|
|
||||||
Version: 1.1
|
|
||||||
Release: 0
|
|
||||||
# define the name from CPAN
|
# define the name from CPAN
|
||||||
%define cpan_name XML-Structured
|
%define cpan_name XML-Structured
|
||||||
BuildRequires: perl-macros
|
Name: perl-XML-Structured
|
||||||
|
Version: 1.2
|
||||||
|
Release: 0
|
||||||
|
Summary: Simple conversion API from XML to perl structures and back
|
||||||
|
License: Artistic-1.0
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Artistic License, Other License(s), see package
|
|
||||||
Url: http://search.cpan.org/~mls/
|
Url: http://search.cpan.org/~mls/
|
||||||
Summary: Simple conversion API from XML to perl structures and back
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
Source: %cpan_name-%{version}.tar.bz2
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
%{perl_requires}
|
|
||||||
# perl(XML::Parser) has choice: brp-check-suse perl-XML-Parser
|
# perl(XML::Parser) has choice: brp-check-suse perl-XML-Parser
|
||||||
BuildRequires: perl-XML-Parser
|
BuildRequires: perl-XML-Parser
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
%if 0%{?suse_version} < 1120
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version} < 1140
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
%else
|
||||||
|
%{perl_requires}
|
||||||
|
%endif
|
||||||
%if 0%{?suse_version} > 1120
|
%if 0%{?suse_version} > 1120
|
||||||
BuildRequires: perl(Test::Pod) perl(Test::Pod::Coverage)
|
BuildRequires: perl(Test::Pod)
|
||||||
|
BuildRequires: perl(Test::Pod::Coverage)
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Provides a way to convert XML data into a predefined perl data structure and
|
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
|
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").
|
data does not match the provided skeleton (the "DTD").
|
||||||
Another advantage is that the order of the attributes and elements is taken
|
Another advantage is that the order of the attributes and elements is taken
|
||||||
from the DTD when converting back to xml.
|
from the DTD when converting back to xml.
|
||||||
|
|
||||||
@@ -47,23 +53,19 @@ from the DTD when converting back to xml.
|
|||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
perl Makefile.PL OPTIMIZE="%{optflags} -Wall"
|
||||||
make %{?jobs:-j%jobs}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make %{?_smp_mflags} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
# clean up the hard disc after build
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc MANIFEST README
|
%doc MANIFEST README speed test
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user