diff --git a/XML-LibXML-Simple-0.91.tar.gz b/XML-LibXML-Simple-0.91.tar.gz deleted file mode 100644 index 0c65346..0000000 --- a/XML-LibXML-Simple-0.91.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5a4ee2fd65b553f8693874521d1bdefd2bb694d57f8f2ef9137615885c481eb8 -size 21102 diff --git a/XML-LibXML-Simple-0.93.tar.gz b/XML-LibXML-Simple-0.93.tar.gz new file mode 100644 index 0000000..4d712e4 --- /dev/null +++ b/XML-LibXML-Simple-0.93.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f2eb1c1523d6414cf2a646a289b0325b489954382c862928d165a03a7cce767c +size 22821 diff --git a/perl-XML-LibXML-Simple.changes b/perl-XML-LibXML-Simple.changes index 9193825..6d2da29 100644 --- a/perl-XML-LibXML-Simple.changes +++ b/perl-XML-LibXML-Simple.changes @@ -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 diff --git a/perl-XML-LibXML-Simple.spec b/perl-XML-LibXML-Simple.spec index 76988c3..b7d4655 100644 --- a/perl-XML-LibXML-Simple.spec +++ b/perl-XML-LibXML-Simple.spec @@ -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