8
0

Accepting request 177550 from home:coolo:update-perl

- updated to 0.93
       - move pod-test to xt/
       - fix warning produced by Pod::Checker
       - include license in the manuals.

OBS-URL: https://build.opensuse.org/request/show/177550
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-LibXML-Simple?expand=0&rev=7
This commit is contained in:
Stephan Kulow
2013-06-04 17:15:58 +00:00
committed by Git OBS Bridge
parent 3e5c1fa6b4
commit 366cdbfff5
4 changed files with 36 additions and 41 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jun 4 17:01:50 UTC 2013 - coolo@suse.com
- updated to 0.93
- move pod-test to xt/
- fix warning produced by Pod::Checker
- include license in the manuals.
-------------------------------------------------------------------
Fri May 25 15:17:07 UTC 2012 - werner@suse.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-XML-LibXML-Simple
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,29 +16,24 @@
#
Name: perl-XML-LibXML-Simple
Version: 0.91
Version: 0.93
Release: 0
Summary: XML::LibXML based XML::Simple clone
Source: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/XML-LibXML-Simple-%{version}.tar.gz
Url: http://search.cpan.org/dist/XML-LibXML-Simple
Group: Development/Libraries/Perl
%define cpan_name XML-LibXML-Simple
Summary: XML::LibXML clone of XML::Simple::XMLin()
License: Artistic-1.0 or GPL-1.0+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl-macros
BuildRequires: make
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More) >= 0.54
BuildRequires: perl(XML::LibXML) >= 1.64
BuildRequires: perl(Test::Pod) >= 1.00
BuildRequires: perl(File::Slurp)
Requires: perl(XML::LibXML) >= 1.64
Requires: perl(File::Slurp)
%if 0%{?suse_version} >= 1120
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/XML-LibXML-Simple/
Source: http://www.cpan.org/authors/id/M/MA/MARKOV/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(File::Slurp)
BuildRequires: perl(XML::LibXML) >= 1.64
Requires: perl(File::Slurp)
Requires: perl(XML::LibXML) >= 1.64
%{perl_requires}
%description
This module is a blunt rewrite of XML::Simple (by Grant McLean) to use the
@@ -46,30 +41,22 @@ XML::LibXML parser for XML structures, where the original uses plain Perl
or SAX parsers.
%prep
%setup -q -n "XML-LibXML-Simple-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%setup -q -n %{cpan_name}-%{version}
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?_smp_flags}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%check
%__make test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%doc README
%dir %{perl_vendorlib}/XML
%dir %{perl_vendorlib}/XML/LibXML
%{perl_vendorlib}/XML/LibXML/Simple.pm
%doc %{perl_vendorlib}/XML/LibXML/Simple.pod
%doc %{perl_man3dir}/XML::LibXML::Simple.%{perl_man3ext}%{ext_man}
%files -f %{name}.files
%defattr(-,root,root,755)
%doc ChangeLog README
%changelog