From 32cf6cd8f32ce77f3447b4494ae9f7de6e1a4ffb5afe6c286f20e3862fc855c0 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 4 Oct 2013 15:21:53 +0000 Subject: [PATCH] update OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Hash-MoreUtils?expand=0&rev=5 --- Hash-MoreUtils-0.02.tar.gz | 3 --- Hash-MoreUtils-0.03.tar.gz | 3 +++ perl-Hash-MoreUtils.changes | 10 ++++++++ perl-Hash-MoreUtils.spec | 51 ++++++++++++++++--------------------- 4 files changed, 35 insertions(+), 32 deletions(-) delete mode 100644 Hash-MoreUtils-0.02.tar.gz create mode 100644 Hash-MoreUtils-0.03.tar.gz diff --git a/Hash-MoreUtils-0.02.tar.gz b/Hash-MoreUtils-0.02.tar.gz deleted file mode 100644 index d094b18..0000000 --- a/Hash-MoreUtils-0.02.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:df3e073c57132075100bc4d9f7ff4adf5980f6727cf16339db94b2a65f176b64 -size 5372 diff --git a/Hash-MoreUtils-0.03.tar.gz b/Hash-MoreUtils-0.03.tar.gz new file mode 100644 index 0000000..7344027 --- /dev/null +++ b/Hash-MoreUtils-0.03.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:018e676bde53328962117fca739e4deea96d9160990342f312720e9295f45684 +size 5152 diff --git a/perl-Hash-MoreUtils.changes b/perl-Hash-MoreUtils.changes index 3a63b25..12e5f88 100644 --- a/perl-Hash-MoreUtils.changes +++ b/perl-Hash-MoreUtils.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Oct 4 09:13:21 UTC 2013 - coolo@suse.com + +- updated to 0.03 + - Add documentation about intended behaviour of slice* when no + list given (fixing RT#77429 and RT#57095), thanks to Titi Ala'ilima + and Bernhard Graf + - Changes reformatted as per CPAN::Changes::Spec + - Move to GitHub.com + ------------------------------------------------------------------- Wed Dec 1 13:32:46 UTC 2010 - coolo@novell.com diff --git a/perl-Hash-MoreUtils.spec b/perl-Hash-MoreUtils.spec index b22c117..7a94c6e 100644 --- a/perl-Hash-MoreUtils.spec +++ b/perl-Hash-MoreUtils.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Hash-MoreUtils # -# Copyright (c) 2011 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 @@ -15,52 +15,45 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: perl-Hash-MoreUtils -Version: 0.02 -Release: 1 +Version: 0.03 +Release: 0 +%define cpan_name Hash-MoreUtils Summary: Provide the stuff missing in Hash::Util -Source: http://search.cpan.org/CPAN/authors/id/R/RE/REHSACK/Hash-MoreUtils-%{version}.tar.gz -Url: http://search.cpan.org/dist/Hash-MoreUtils -Group: Development/Libraries/Perl License: Artistic-1.0 or GPL-1.0+ +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/Hash-MoreUtils/ +Source: http://www.cpan.org/authors/id/R/RE/REHSACK/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Test::More) -BuildRequires: perl(Module::Build) >= 0.36 -BuildRequires: perl(Module::Build) +BuildRequires: perl(Module::Build) >= 0.40 +BuildRequires: perl(Test::More) >= 0.90 +#BuildRequires: perl(Hash::MoreUtils) +%{perl_requires} %description -Similar to "List::MoreUtils", "Hash::MoreUtils" contains trivial but +Similar to 'List::MoreUtils', 'Hash::MoreUtils' contains trivial but commonly-used functionality for hashes. %prep -%setup -q -n "Hash-MoreUtils-%{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 +./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_vendorlib}/Hash -%{perl_vendorlib}/Hash/MoreUtils.pm -%dir %{perl_vendorarch}/auto/Hash -%{perl_vendorarch}/auto/Hash/MoreUtils -%doc %{perl_man3dir}/Hash::MoreUtils.%{perl_man3ext}%{ext_man} + %changelog