[perl-Error] Update to 0.17023

Paul Howarth pghmcfc at fedoraproject.org
Thu Feb 12 20:38:14 UTC 2015


commit f8d3bc3500590dce9c9493582ef08082a14497d9
Author: Paul Howarth <paul at city-fan.org>
Date:   Thu Feb 12 20:35:41 2015 +0000

    Update to 0.17023
    
    - New upstream release 0.17023
      - Minimal version of Module-Build reduced to 0.280801 (CPAN RT#102062)
    - Use %license where possible

 perl-Error.spec |   24 +++++++++++++++++-------
 sources         |    2 +-
 2 files changed, 18 insertions(+), 8 deletions(-)
---
diff --git a/perl-Error.spec b/perl-Error.spec
index c98409e..e5d3f17 100644
--- a/perl-Error.spec
+++ b/perl-Error.spec
@@ -1,7 +1,7 @@
 Name:           perl-Error
 Epoch:          1
-Version:        0.17022
-Release:        4%{?dist}
+Version:        0.17023
+Release:        1%{?dist}
 Summary:        Error/exception handling in an OO-ish way
 License:        (GPL+ or Artistic) and MIT
 Group:          Development/Libraries
@@ -43,12 +43,12 @@ can simply be recorded.
 %setup -q -n Error-%{version}
 
 %build
-perl Build.PL installdirs=vendor
+perl Build.PL --installdirs=vendor
 ./Build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
 %{_fixperms} $RPM_BUILD_ROOT
 
 %check
@@ -58,15 +58,25 @@ rm -rf $RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT
 
 %files
+%if 0%{?_licensedir:1}
+%license LICENSE
+%else
+%doc LICENSE
+%endif
 # GPL+ or Artistic
-%doc ChangeLog README LICENSE examples/
+%doc ChangeLog README examples/
 %{perl_vendorlib}/Error.pm
-%{_mandir}/man3/Error.3pm*
+%{_mandir}/man3/Error.3*
 # MIT
 %{perl_vendorlib}/Error/
-%{_mandir}/man3/Error::Simple.3pm*
+%{_mandir}/man3/Error::Simple.3*
 
 %changelog
+* Thu Feb 12 2015 Paul Howarth <paul at city-fan.org> - 1:0.17023-1
+- Update to 0.17023
+  - Minimal version of Module-Build reduced to 0.280801 (CPAN RT#102062)
+- Use %%license where possible
+
 * Mon Sep 08 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1:0.17022-4
 - Perl 5.20 re-rebuild of bootstrapped packages
 
diff --git a/sources b/sources
index 3ab25d2..b60758f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-f4d825f4be915ae90bf2e0d66734956b  Error-0.17022.tar.gz
+98524ffbd268013e00697a5826a83d37  Error-0.17023.tar.gz


More information about the scm-commits mailing list