diff --git a/XML-Quick-0.05.tar.gz b/XML-Quick-0.05.tar.gz deleted file mode 100644 index 8b77d4c..0000000 --- a/XML-Quick-0.05.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bf8b3670ab41504aeab37643df968244c13465f58e52e07c9d3aa14af09aa668 -size 6385 diff --git a/XML-Quick-0.06.tar.gz b/XML-Quick-0.06.tar.gz new file mode 100644 index 0000000..849a7cf --- /dev/null +++ b/XML-Quick-0.06.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fdd3f085b8700e0c318e7437cc2a94860f03546f03b3b57cd84f2828cca7b5f +size 14648 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..9b7ec50 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,23 @@ +--- +#description_paragraphs: 3 +#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_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-Quick.changes b/perl-XML-Quick.changes index 5d0ad4c..b3a466f 100644 --- a/perl-XML-Quick.changes +++ b/perl-XML-Quick.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Nov 14 10:30:56 UTC 2015 - coolo@suse.com + +- updated to 0.06 + see /usr/share/doc/packages/perl-XML-Quick/Changes + ------------------------------------------------------------------- Wed Dec 1 13:36:16 UTC 2010 - coolo@novell.com diff --git a/perl-XML-Quick.spec b/perl-XML-Quick.spec index 2e30d3e..79b7a77 100644 --- a/perl-XML-Quick.spec +++ b/perl-XML-Quick.spec @@ -1,56 +1,62 @@ -# vim: set sw=4 ts=4 et nu: -# norootforbuild +# +# spec file for package perl-XML-Quick +# +# Copyright (c) 2015 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + Name: perl-XML-Quick -Version: 0.05 +Version: 0.06 Release: 0 +%define cpan_name XML-Quick Summary: Generate XML from hashes (and other data) -Source: http://search.cpan.org/CPAN/authors/id/R/RO/ROBN/XML-Quick-%{version}.tar.gz -URL: http://search.cpan.org/dist/XML-Quick/ +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl -License: Perl License -BuildRoot: %{_tmppath}/build-%{name}-%{version} -%{perl_requires} -BuildRequires: make perl +Url: http://search.cpan.org/dist/XML-Quick/ +Source0: http://www.cpan.org/authors/id/R/RO/ROBN/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Test::Pod) -BuildRequires: perl(Test::Pod::Coverage) -BuildRequires: perl(Test::More) BuildRequires: perl(Test::XML) -BuildRequires: perl(Module::Build) -BuildRequires: perl(Scalar::Util) -Requires: perl(Scalar::Util) +%{perl_requires} %description -This module generates XML from Perl data (typically a hash). It tries hard to -produce something sane no matter what you pass it. It probably fails. +This module generates XML from Perl data (typically a hash). It tries hard +to produce something sane no matter what you pass it. It probably fails. -When you use this module, it will export the xml function into your namespace. -This function does everything. +When you use this module, it will export the 'xml' function into your +namespace. This function does everything. %prep -%setup -q -n "XML-Quick-%{version}" +%setup -q -n %{cpan_name}-%{version} %build -%__perl ./Build.PL -./Build - -%install -./Build pure_install --destdir "%{buildroot}" --installdirs vendor -%perl_process_packlist +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} %check -./Build test +%{__make} test -%clean -%{?buildroot:%__rm -rf "%{buildroot}"} +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist -%files -%defattr(-,root,root) -%doc Changes README -%dir %{perl_vendorlib}/XML -%{perl_vendorlib}/XML/Quick.pm -%dir %{perl_vendorarch}/auto/XML -%{perl_vendorarch}/auto/XML/Quick -%doc %{perl_man3dir}/XML::Quick.%{perl_man3ext}%{ext_man} +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes LICENSE README +%changelog