From 3349cb008f26ea78902dee0dd6395843254d7671 Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Fri, 25 Mar 2016 11:52:48 +0000
Subject: Update to 0.110

- New upstream release 0.110
  - Major optimization to mkopt
- Use %license
- Simplify find expression using -delete
---
 perl-Data-OptList.spec | 39 ++++++++++++++++++++++++++++-----------
 sources                |  2 +-
 2 files changed, 29 insertions(+), 12 deletions(-)

diff --git a/perl-Data-OptList.spec b/perl-Data-OptList.spec
index 18caa11..cc60b65 100644
--- a/perl-Data-OptList.spec
+++ b/perl-Data-OptList.spec
@@ -1,24 +1,33 @@
 Name:           perl-Data-OptList
+Version:        0.110
+Release:        1%{?dist}
 Summary:        Parse and validate simple name/value option pairs
-Version:        0.109
-Release:        7%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Data-OptList/
 Source0:        
http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Data-OptList-%{version}.tar.gz 
 BuildArch:      noarch
+# Module Build
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
 BuildRequires:  perl
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
-BuildRequires:  perl(strict)
-BuildRequires:  perl(warnings)
-# Run-time:
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Module Runtime
 BuildRequires:  perl(List::Util)
 BuildRequires:  perl(Params::Util)
+BuildRequires:  perl(strict)
 BuildRequires:  perl(Sub::Install) >= 0.921
-# Tests:
+BuildRequires:  perl(warnings)
+# Test Suite
+BuildRequires:  perl(File::Spec)
 BuildRequires:  perl(Test::More) >= 0.88
-# Optional tests:
+# Optional Tests
+BuildRequires:  perl(CPAN::Meta) >= 2.120900
+BuildRequires:  perl(CPAN::Meta::Prereqs)
+# Extra Tests
 BuildRequires:  perl(Test::Pod) >= 1.41
+# Dependencies
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %description
@@ -46,6 +55,7 @@ following a name is its value.
 %prep
 %setup -q -n Data-OptList-%{version}
 
+# Fix shellbangs in tests
 for F in t/*; do
     perl -MExtUtils::MakeMaker -e "ExtUtils::MM_Unix->fixin(q{$F})"
 done
@@ -56,7 +66,7 @@ make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -type f -name .packlist -delete
 %{_fixperms} %{buildroot}
 
 %check
@@ -64,11 +74,18 @@ make test
 make test TEST_FILES="$(echo $(find xt/ -name '*.t'))"
 
 %files
-%doc Changes LICENSE README t/
+%license LICENSE
+%doc Changes README t/
 %{perl_vendorlib}/Data/
-%{_mandir}/man3/Data::OptList.3pm*
+%{_mandir}/man3/Data::OptList.3*
 
 %changelog
+* Fri Mar 25 2016 Paul Howarth <p...@city-fan.org> - 0.110-1
+- Update to 0.110
+  - Major optimization to mkopt
+- Use %%license
+- Simplify find expression using -delete
+
 * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 
0.109-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 
diff --git a/sources b/sources
index f6419b2..ae363fa 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-de3f747d6b802ded363cf434a96dab8f  Data-OptList-0.109.tar.gz
+f9236c9ea5607134ad8a2b3dc901c4c5  Data-OptList-0.110.tar.gz
-- 
cgit v0.12


        
http://pkgs.fedoraproject.org/cgit/perl-Data-OptList.git/commit/?h=f24&id=3349cb008f26ea78902dee0dd6395843254d7671
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org

Reply via email to