[perl-Hash-MoreUtils] Upstream update.

corsepiu corsepiu at fedoraproject.org
Thu Sep 12 04:20:45 UTC 2013


commit c441d18244c4f364f04b9f86ec9c0b50833f4ee2
Author: Ralf Corsépius <corsepiu at fedoraproject.org>
Date:   Thu Sep 12 06:12:42 2013 +0200

    Upstream update.
    
    - Reflect upstream having abandoned pod-, manifest-testing and RELEASE_TESTING.
    - Modernize spec.

 .gitignore               |    1 +
 perl-Hash-MoreUtils.spec |   36 +++++++++++-------------------------
 sources                  |    2 +-
 3 files changed, 13 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 0a1603b..6838685 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /Hash-MoreUtils-0.02.tar.gz
+/Hash-MoreUtils-0.03.tar.gz
diff --git a/perl-Hash-MoreUtils.spec b/perl-Hash-MoreUtils.spec
index 379f6cd..45740f7 100644
--- a/perl-Hash-MoreUtils.spec
+++ b/perl-Hash-MoreUtils.spec
@@ -1,61 +1,47 @@
 Name:           perl-Hash-MoreUtils
-Version:        0.02
-Release:        8%{?dist}
+Version:        0.03
+Release:        1%{?dist}
 Summary:        Provide the stuff missing in Hash::Util
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Hash-MoreUtils/
 Source0:        http://www.cpan.org/authors/id/R/RE/REHSACK/Hash-MoreUtils-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(Module::Build)
-BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::More) >= 0.90
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
-# For improved tests
-BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
-BuildRequires:  perl(Test::Pod) >= 1.22
-BuildRequires:  perl(Test::CheckManifest) >= 0.9
-
 %description
 Similar to List::MoreUtils, Hash::MoreUtils contains trivial but commonly-
 used functionality for hashes.
 
 %prep
-# Unpackage tarball in a subdirectory, otherwise the testsuite will fail.
-%setup -q -c -n %{name}-%{version}
-%setup -q -T -D -n %{name}-%{version} -a0
+%setup -q -n Hash-MoreUtils-%{version}
 
 %build
-cd Hash-MoreUtils-%{version}
 %{__perl} Build.PL installdirs=vendor
 ./Build
-cd ..
 
 %install
-rm -rf $RPM_BUILD_ROOT
-cd Hash-MoreUtils-%{version}
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} $RPM_BUILD_ROOT/*
-cd ..
 
 %check
-cd Hash-MoreUtils-%{version}
-RELEASE_TESTING=1 ./Build test
-cd ..
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+./Build test
 
 %files
-%defattr(-,root,root,-)
-%doc Hash-MoreUtils-%{version}/Changes Hash-MoreUtils-%{version}/README
+%doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Thu Sep 12 2013 Ralf Corsépius <corsepiu at fedoraproject.org> - 0.03-1
+- Upstream update.
+- Reflect upstream having abandoned pod-, manifest-testing and RELEASE_TESTING.
+- Modernize spec.
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.02-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index cce267a..b4568c5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-07350a6b0813fbe88b8b48ef786dda98  Hash-MoreUtils-0.02.tar.gz
+12d456c187d5b02cfa137502c87315dd  Hash-MoreUtils-0.03.tar.gz



More information about the perl-devel mailing list