diff --git a/XML-Easy-0.009.tar.gz b/XML-Easy-0.009.tar.gz deleted file mode 100644 index 00bea7c..0000000 --- a/XML-Easy-0.009.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2c58682f27cc7fc8a7a514389a514b51bde52cc922c3c0954175b6becf1774b1 -size 70703 diff --git a/XML-Easy-0.010.tar.gz b/XML-Easy-0.010.tar.gz new file mode 100644 index 0000000..347f276 --- /dev/null +++ b/XML-Easy-0.010.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f448dd7480fa216793bf5a6a1034ab8deb88313f20f8aeb1aeb6ba42d3497645 +size 70560 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-XML-Easy.changes b/perl-XML-Easy.changes index a95f8c9..3351d07 100644 --- a/perl-XML-Easy.changes +++ b/perl-XML-Easy.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Fri Jul 21 06:26:09 UTC 2017 - coolo@suse.com + +- updated to 0.010 + see /usr/share/doc/packages/perl-XML-Easy/Changes + + version 0.010; 2017-07-19 + + * port to Perl 5.19.4, where the C type of array indices has changed + + * update test suite to not rely on . in @INC, which is no longer + necessarily there from Perl 5.25.7 + + * test that all modules have matching version numbers + + * no longer include a Makefile.PL in the distribution + + * in META.{yml,json}, point to public bug tracker + + * correct some typos in documentation + ------------------------------------------------------------------- Thu Nov 03 23:30:10 UTC 2011 - pascal.bleser@opensuse.org diff --git a/perl-XML-Easy.spec b/perl-XML-Easy.spec index e922b88..b6eadbf 100644 --- a/perl-XML-Easy.spec +++ b/perl-XML-Easy.spec @@ -1,7 +1,7 @@ # # spec file for package perl-XML-Easy # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX 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,36 +16,26 @@ # - Name: perl-XML-Easy -Version: 0.009 +Version: 0.010 Release: 0 +%define cpan_name XML-Easy Summary: XML processing with a clean interface -Source: http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/XML-Easy-%{version}.tar.gz -Url: http://search.cpan.org/dist/XML-Easy +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -License: GNU General Public License version 2 or later or Artistic (GPLv2+ or Artistic) +Url: http://search.cpan.org/dist/XML-Easy/ +Source0: https://cpan.metacpan.org/authors/id/Z/ZE/ZEFRAM/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} +BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(warnings) -BuildRequires: perl(Scalar::Util) -BuildRequires: perl(IO::File) -BuildRequires: perl(Params::Classify) -BuildRequires: perl(utf8) -BuildRequires: perl(Encode) -BuildRequires: perl(Test::More) -BuildRequires: perl(strict) BuildRequires: perl(Module::Build) +BuildRequires: perl(Params::Classify) BuildRequires: perl(parent) -BuildRequires: perl(Exporter) -BuildRequires: perl(Internals) -Requires: perl(warnings) -Requires: perl(strict) -Requires: perl(parent) Requires: perl(Params::Classify) -Requires: perl(Exporter) -Requires: perl(Internals) +Requires: perl(parent) +Recommends: perl(Internals) +%{perl_requires} %description XML::Easy is a collection of modules relating to the processing, parsing, @@ -55,6 +45,7 @@ markup of principally textual data. It does not perform any schema processing, and does not interpret DTDs or any other kind of schema. It adheres strictly to the XML specification, in all its awkward details, except for the aforementioned DTDs. + XML::Easy strictly separates the in-program manipulation of XML data from the processing of the textual form of XML. This shields the XML user from the inconvenient and obscure aspects of XML syntax. XML data nodes are @@ -63,37 +54,29 @@ XML::Easy::NodeBasics module. In the (very likely) event that an application requires some more purpose-specific XML data processing facilities, they are readily built on top of XML::Easy::NodeBasics, retaining the abstraction from textual XML. + When XML must be handled in textual form, for input and output, the XML::Easy::Text module supplies a parser and a serialiser. The interfaces here, too, are functional in nature. + There are other modules for some ancillary aspects of XML processing. %prep -%setup -q -n "XML-Easy-%{version}" +%setup -q -n %{cpan_name}-%{version} %build -%__perl ./Build.PL -./Build - -%install -./Build pure_install --destdir "%{buildroot}" --installdirs vendor -%perl_process_packlist +%{__perl} Build.PL installdirs=vendor optimize="%{optflags}" +./Build build flags=%{?_smp_mflags} %check ./Build test -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} +%install +./Build install destdir=%{buildroot} create_packlist=0 +%perl_gen_filelist -%files -%defattr(-,root,root) +%files -f %{name}.files +%defattr(-,root,root,755) %doc Changes README -%dir %{perl_vendorarch}/XML -%{perl_vendorarch}/XML/Easy -%{perl_vendorarch}/XML/Easy.pm -%dir %{perl_vendorarch}/auto/XML -%{perl_vendorarch}/auto/XML/Easy -%doc %{perl_man3dir}/XML::Easy.%{perl_man3ext}%{ext_man} -%doc %{perl_man3dir}/XML::Easy::*.%{perl_man3ext}%{ext_man} %changelog