forked from pool/perl-XML-LibXML-Simple
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:
committed by
Git OBS Bridge
parent
3e5c1fa6b4
commit
366cdbfff5
BIN
XML-LibXML-Simple-0.91.tar.gz
(Stored with Git LFS)
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
BIN
XML-LibXML-Simple-0.93.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -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
|
Fri May 25 15:17:07 UTC 2012 - werner@suse.de
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-XML-LibXML-Simple
|
# 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
|
# 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,29 +16,24 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-XML-LibXML-Simple
|
Name: perl-XML-LibXML-Simple
|
||||||
Version: 0.91
|
Version: 0.93
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: XML::LibXML based XML::Simple clone
|
%define cpan_name XML-LibXML-Simple
|
||||||
Source: http://search.cpan.org/CPAN/authors/id/M/MA/MARKOV/XML-LibXML-Simple-%{version}.tar.gz
|
Summary: XML::LibXML clone of XML::Simple::XMLin()
|
||||||
Url: http://search.cpan.org/dist/XML-LibXML-Simple
|
|
||||||
Group: Development/Libraries/Perl
|
|
||||||
License: Artistic-1.0 or GPL-1.0+
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Group: Development/Libraries/Perl
|
||||||
%{perl_requires}
|
Url: http://search.cpan.org/dist/XML-LibXML-Simple/
|
||||||
BuildRequires: perl-macros
|
Source: http://www.cpan.org/authors/id/M/MA/MARKOV/%{cpan_name}-%{version}.tar.gz
|
||||||
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
|
|
||||||
BuildArch: noarch
|
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
|
%description
|
||||||
This module is a blunt rewrite of XML::Simple (by Grant McLean) to use the
|
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.
|
or SAX parsers.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "XML-LibXML-Simple-%{version}"
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
%__sed -i '/^auto_install/d' Makefile.PL
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl Makefile.PL PREFIX="%{_prefix}"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%__make %{?_smp_flags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%check
|
%files -f %{name}.files
|
||||||
%__make test
|
%defattr(-,root,root,755)
|
||||||
|
%doc ChangeLog README
|
||||||
%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}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user