[perl-Exception-Class-TryCatch] Update to 1.13

Emmanuel Seyman eseyman at fedoraproject.org
Sun Mar 2 10:22:57 UTC 2014


commit 6499d8833091618c9b518a45a00c0826c2c22610
Author: Emmanuel Seyman <emmanuel at seyman.fr>
Date:   Sun Mar 2 11:23:52 2014 +0100

    Update to 1.13

 .gitignore                         |    1 +
 perl-Exception-Class-TryCatch.spec |   20 +++++++++++++-------
 sources                            |    2 +-
 3 files changed, 15 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 9269f32..24da20d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Exception-Class-TryCatch-1.12.tar.gz
+/Exception-Class-TryCatch-1.13.tar.gz
diff --git a/perl-Exception-Class-TryCatch.spec b/perl-Exception-Class-TryCatch.spec
index b123c33..abfef71 100644
--- a/perl-Exception-Class-TryCatch.spec
+++ b/perl-Exception-Class-TryCatch.spec
@@ -1,6 +1,6 @@
 Name:           perl-Exception-Class-TryCatch
-Version:        1.12
-Release:        15%{?dist}
+Version:        1.13
+Release:        1%{?dist}
 Summary:        Syntactic try/catch sugar for use with Exception::Class
 License:        ASL 2.0
 Group:          Development/Libraries
@@ -27,24 +27,30 @@ various Exception::Class methods to process the exception.
 %setup -q -n Exception-Class-TryCatch-%{version}
 
 %build
-%{__perl} Build.PL installdirs=vendor
-./Build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
 
 %install
-./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-./Build test
+make test
 
 %files
-%doc Changes LICENSE README Todo
+%doc Changes CONTRIBUTING LICENSE README
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Sun Mar 02 2014 Emmanuel Seyman <emmanuel at seyman.fr> - 1.13-1
+- Update to 1.13
+- Switch to the Makefile.PL build mechanism
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.12-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index 4fe3392..cd3849e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d9943ce5e251437312a11001b9531f43  Exception-Class-TryCatch-1.12.tar.gz
+b15793cc403d0bfa8ffe4b5918b9601f  Exception-Class-TryCatch-1.13.tar.gz



More information about the perl-devel mailing list