8
0

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:
Stephan Kulow
2016-03-08 08:27:11 +00:00
committed by Git OBS Bridge
parent 66d24ea2bf
commit 916d2af7f2
5 changed files with 32 additions and 28 deletions

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)

Binary file not shown.

BIN
XML-Structured-1.2.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

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

View File

@@ -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,24 +16,30 @@
# #
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
Group: Development/Libraries/Perl Version: 1.2
License: Artistic License, Other License(s), see package Release: 0
Url: http://search.cpan.org/~mls/
Summary: Simple conversion API from XML to perl structures and back Summary: Simple conversion API from XML to perl structures and back
Source: %cpan_name-%{version}.tar.bz2 License: Artistic-1.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: Development/Libraries/Perl
%{perl_requires} Url: http://search.cpan.org/~mls/
Source: %{cpan_name}-%{version}.tar.bz2
# 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
@@ -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