8
0
Stephan Kulow
2013-10-04 15:21:53 +00:00
committed by Git OBS Bridge
parent ed067ca519
commit 32cf6cd8f3
4 changed files with 35 additions and 32 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df3e073c57132075100bc4d9f7ff4adf5980f6727cf16339db94b2a65f176b64
size 5372

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:018e676bde53328962117fca739e4deea96d9160990342f312720e9295f45684
size 5152

View File

@@ -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

View File

@@ -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