forked from pool/perl-Hash-MoreUtils
update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Hash-MoreUtils?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
ed067ca519
commit
32cf6cd8f3
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:df3e073c57132075100bc4d9f7ff4adf5980f6727cf16339db94b2a65f176b64
|
|
||||||
size 5372
|
|
||||||
3
Hash-MoreUtils-0.03.tar.gz
Normal file
3
Hash-MoreUtils-0.03.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:018e676bde53328962117fca739e4deea96d9160990342f312720e9295f45684
|
||||||
|
size 5152
|
||||||
@@ -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
|
Wed Dec 1 13:32:46 UTC 2010 - coolo@novell.com
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Hash-MoreUtils
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -15,52 +15,45 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Hash-MoreUtils
|
Name: perl-Hash-MoreUtils
|
||||||
Version: 0.02
|
Version: 0.03
|
||||||
Release: 1
|
Release: 0
|
||||||
|
%define cpan_name Hash-MoreUtils
|
||||||
Summary: Provide the stuff missing in Hash::Util
|
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+
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Module::Build) >= 0.40
|
||||||
BuildRequires: perl(Module::Build) >= 0.36
|
BuildRequires: perl(Test::More) >= 0.90
|
||||||
BuildRequires: perl(Module::Build)
|
#BuildRequires: perl(Hash::MoreUtils)
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Similar to "List::MoreUtils", "Hash::MoreUtils" contains trivial but
|
Similar to 'List::MoreUtils', 'Hash::MoreUtils' contains trivial but
|
||||||
commonly-used functionality for hashes.
|
commonly-used functionality for hashes.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n "Hash-MoreUtils-%{version}"
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%__perl ./Build.PL
|
%{__perl} Build.PL installdirs=vendor
|
||||||
./Build
|
./Build build flags=%{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
|
||||||
./Build pure_install --destdir "%{buildroot}" --installdirs vendor
|
|
||||||
%perl_process_packlist
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
%clean
|
%install
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
|
%perl_gen_filelist
|
||||||
|
|
||||||
%files
|
%files -f %{name}.files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README
|
%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
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user