From 556f2d2e8790e3d2f898e7f8a0e3aa7ce03eb65d Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Thu, 11 Aug 2016 11:10:47 +0100
Subject: Update to 0.008
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- New upstream release 0.008
  - Silenced eich deprecation warnings in tests
  - Typo fixes (GH#3)
  - Added a license file
  - Testing using Travis and AppVeyor
  - No longer depending on Fennec: using Test2 instead, reducing the dependency
    chain
  - Added repository metadata (GH#4)
- This release by MSCHWERN → update source URL
- Classify buildreqs by usage
- Simplify find command using -empty and -delete
---
 perl-Hash-StoredIterator.spec | 46 +++++++++++++++++++++++++++++++------------
 sources                       |  2 +-
 2 files changed, 34 insertions(+), 14 deletions(-)

diff --git a/perl-Hash-StoredIterator.spec b/perl-Hash-StoredIterator.spec
index 6de578b..56afa34 100644
--- a/perl-Hash-StoredIterator.spec
+++ b/perl-Hash-StoredIterator.spec
@@ -1,26 +1,32 @@
 Name:          perl-Hash-StoredIterator
-Version:       0.007
-Release:       9%{?dist}
+Version:       0.008
+Release:       1%{?dist}
 Summary:       Functions for accessing a hash's internal iterator
 License:       GPL+ or Artistic
 Group:         Development/Libraries
 URL:           https://metacpan.org/release/Hash-StoredIterator
-Source0:       
http://cpan.metacpan.org/authors/id/E/EX/EXODIST/Hash-StoredIterator-%{version}.tar.gz
+Source0:       
http://cpan.metacpan.org/authors/id/M/MS/MSCHWERN/Hash-StoredIterator-%{version}.tar.gz
+# Module Build
+BuildRequires: coreutils
+BuildRequires: findutils
 BuildRequires: perl >= 4:5.10.0
 BuildRequires: perl-devel
 BuildRequires: perl-generators
+BuildRequires: perl(ExtUtils::CBuilder)
+BuildRequires: perl(ExtUtils::ParseXS) >= 3.15
+BuildRequires: perl(Module::Build) >= 0.42
+# Module Runtime
 BuildRequires: perl(B)
 BuildRequires: perl(base)
 BuildRequires: perl(Carp)
 BuildRequires: perl(Exporter)
-BuildRequires: perl(ExtUtils::CBuilder)
-BuildRequires: perl(ExtUtils::ParseXS) >= 3.15
-BuildRequires: perl(ExtUtils::testlib)
-BuildRequires: perl(Fennec) >= 2.004
-BuildRequires: perl(Module::Build) >= 0.40
 BuildRequires: perl(strict)
 BuildRequires: perl(warnings)
 BuildRequires: perl(XSLoader)
+# Test Suite
+BuildRequires: perl(Test2::Bundle::Extended)
+BuildRequires: perl(Test2::Tools::Spec)
+# Dependencies
 Requires:      perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 # Avoid provides for private shared objects
@@ -47,24 +53,38 @@ stash and restore the iterator so that they are safe to use 
within each().
 %setup -q -n Hash-StoredIterator-%{version}
 
 %build
-perl Build.PL installdirs=vendor optimize="%{optflags}"
+perl Build.PL --installdirs=vendor --optimize="%{optflags}"
 ./Build
 
 %install
-./Build install destdir=%{buildroot} create_packlist=0
-find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+./Build install --destdir=%{buildroot} --create_packlist=0
+find %{buildroot} -type f -name '*.bs' -empty -delete
 %{_fixperms} %{buildroot}
 
 %check
 ./Build test
 
 %files
-%doc README
+%license LICENSE
+%doc Changes README
 %{perl_vendorarch}/auto/Hash/
 %{perl_vendorarch}/Hash/
-%{_mandir}/man3/Hash::StoredIterator.3pm*
+%{_mandir}/man3/Hash::StoredIterator.3*
 
 %changelog
+* Thu Aug 11 2016 Paul Howarth <p...@city-fan.org> - 0.008-1
+- Update to 0.008
+  - Silenced eich deprecation warnings in tests
+  - Typo fixes (GH#3)
+  - Added a license file
+  - Testing using Travis and AppVeyor
+  - No longer depending on Fennec: using Test2 instead, reducing the dependency
+    chain
+  - Added repository metadata (GH#4)
+- This release by MSCHWERN → update source URL
+- Classify buildreqs by usage
+- Simplify find command using -empty and -delete
+
 * Sun May 15 2016 Jitka Plesnikova <jples...@redhat.com> - 0.007-9
 - Perl 5.24 rebuild
 
diff --git a/sources b/sources
index f117f7e..c7c70ed 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f7ecdd7327bae05e939d942c3b70ab57  Hash-StoredIterator-0.007.tar.gz
+fe274beeff48da5f741b709ee63e3226  Hash-StoredIterator-0.008.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Hash-StoredIterator.git/commit/?h=perl-Hash-StoredIterator-0.008-1.fc25&id=556f2d2e8790e3d2f898e7f8a0e3aa7ce03eb65d
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to