[perl-Hash-WithDefaults] 0.05 bump

Petr Pisar ppisar at fedoraproject.org
Thu Jan 26 09:08:22 UTC 2012


commit 30784c57532bdd6204a7fc322f853aa24eba7cea
Author: Petr Písař <ppisar at redhat.com>
Date:   Thu Jan 26 10:07:51 2012 +0100

    0.05 bump

 .gitignore                  |    1 +
 perl-Hash-WithDefaults.spec |   30 ++++++++++++++++--------------
 sources                     |    2 +-
 3 files changed, 18 insertions(+), 15 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index cf61db9..c0a1a91 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Hash-WithDefaults-0.04.tar.gz
+/Hash-WithDefaults-0.05.tar.gz
diff --git a/perl-Hash-WithDefaults.spec b/perl-Hash-WithDefaults.spec
index 5aa7ee2..a61b1d2 100644
--- a/perl-Hash-WithDefaults.spec
+++ b/perl-Hash-WithDefaults.spec
@@ -1,15 +1,23 @@
 Name:           perl-Hash-WithDefaults
-Version:        0.04
-Release:        12%{?dist}
+Version:        0.05
+Release:        1%{?dist}
 Summary:        Class for hashes with key-casing requirements supporting defaults
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Hash-WithDefaults/
 Source0:        http://www.cpan.org/authors/id/J/JE/JENDA/Hash-WithDefaults-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test)
+# Run-time
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Tie::Hash)
+# Test
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(Test::More)
+# Optional tests
+BuildRequires:  perl(Pod::Coverage) >= 0.18
+BuildRequires:  perl(Test::Pod) >= 1.22
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.08
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -19,36 +27,30 @@ is not found in the current hash.
 
 %prep
 %setup -q -n Hash-WithDefaults-%{version}
-
-sed -i 's/\r//' README
+sed -i 's/\r//' Changes README
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
-
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
-%defattr(-,root,root,-)
 %doc Changes README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Thu Jan 26 2012 Petr Pisar <ppisar at redhat.com> - 0.05-1
+- 0.05 bump
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.04-12
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 88962ab..50d0b45 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e769b5f381e2b55ec53429b847f086c1  Hash-WithDefaults-0.04.tar.gz
+f80cf62e9d96c481c16037f06321c308  Hash-WithDefaults-0.05.tar.gz



More information about the perl-devel mailing list