[perl-Hash-MultiValue] Update to 0.15, use MakeMaker
李瑞彬
cheeselee at fedoraproject.org
Fri Aug 9 04:37:04 UTC 2013
commit 1bdf1bc7779c9851f4b9f6cb8afc6c0eb3c5c8ae
Author: Robin Lee <cheeselee at fedoraproject.org>
Date: Fri Aug 9 12:36:49 2013 +0800
Update to 0.15, use MakeMaker
.gitignore | 1 +
perl-Hash-MultiValue.spec | 18 ++++++++++--------
sources | 2 +-
3 files changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 49efeba..dbb7552 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ Hash-MultiValue-0.08.tar.gz
/Hash-MultiValue-0.12.tar.gz
/Hash-MultiValue-0.13.tar.gz
/Hash-MultiValue-0.14.tar.gz
+/Hash-MultiValue-0.15.tar.gz
diff --git a/perl-Hash-MultiValue.spec b/perl-Hash-MultiValue.spec
index 37dd368..72c0bf5 100644
--- a/perl-Hash-MultiValue.spec
+++ b/perl-Hash-MultiValue.spec
@@ -1,7 +1,7 @@
Name: perl-Hash-MultiValue
Summary: Store multiple values per key
-Version: 0.14
-Release: 3%{?dist}
+Version: 0.15
+Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Hash-MultiValue-%{version}.tar.gz
@@ -11,7 +11,7 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
BuildArch: noarch
BuildRequires: perl >= 1:5.8.1
-BuildRequires: perl(Module::Build::Tiny) >= 0.019
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(Filter::Util::Call)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.41
@@ -29,21 +29,20 @@ contain multiple values per key.
%setup -q -n Hash-MultiValue-%{version}
%build
-perl Build.PL --installdirs vendor
-./Build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
%install
rm -rf %{buildroot}
-./Build install --destdir %{buildroot}
+make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} %{buildroot}/*
%check
-./Build test
-
+make test
%clean
rm -rf %{buildroot}
@@ -55,6 +54,9 @@ rm -rf %{buildroot}
%{_mandir}/man3/*.3*
%changelog
+* Fri Aug 9 2013 Robin Lee <cheeselee at fedoraproject.org> - 0.15-1
+- Update to 0.15, use MakeMaker
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.14-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 5598cec..7c0469f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-38e63bcdc224ee25a098085190ccc291 Hash-MultiValue-0.14.tar.gz
+eb7df1402b774b07a305dbb67873817a Hash-MultiValue-0.15.tar.gz
More information about the perl-devel
mailing list