From 05fc94196ec221b3eadf3348d07b0b3c31c49238 Mon Sep 17 00:00:00 2001 From: Paul Howarth Date: Apr 29 2013 12:36:33 +0000 Subject: Update to 0.32 - New upstream release 0.32 - Fixed tests that broke due to diagnostic changes in Test::More 0.99 - Don't use macros for commands - Don't need to remove empty directories from the buildroot - Drop %defattr, redundant since rpm 4.4 - Make %files list more explicit - Remove bogus exec permission on Changes file --- diff --git a/.gitignore b/.gitignore index 6698b6c..2cf5a41 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -Test-Exception-0.29.tar.gz -/Test-Exception-0.31.tar.gz +/Test-Exception-[0-9.]*.tar.gz diff --git a/perl-Test-Exception.spec b/perl-Test-Exception.spec index 62a3993..fc86831 100644 --- a/perl-Test-Exception.spec +++ b/perl-Test-Exception.spec @@ -1,18 +1,17 @@ Name: perl-Test-Exception -Version: 0.31 -Release: 9%{?dist} +Version: 0.32 +Release: 1%{?dist} Summary: Library of test functions for exception based Perl code License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Test-Exception/ Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADIE/Test-Exception-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch -BuildRequires: perl(Module::Build) >= 0.35 BuildRequires: perl(base) BuildRequires: perl(Carp) BuildRequires: perl(Exporter) -BuildRequires: perl(Pod::Coverage) +BuildRequires: perl(Module::Build) >= 0.38 BuildRequires: perl(Sub::Uplevel) >= 0.18 BuildRequires: perl(Test::Builder) >= 0.7 BuildRequires: perl(Test::Builder::Tester) >= 1.07 @@ -20,7 +19,7 @@ BuildRequires: perl(Test::Harness) >= 2.03 BuildRequires: perl(Test::More) >= 0.7 BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Simple) >= 0.7 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %{?perl_default_filter} @@ -32,19 +31,17 @@ Test::More and friends. %prep %setup -q -n Test-Exception-%{version} -find . -type f -perm +100 -exec chmod a-x {} \; +# Remove unnecessary exec permissions +chmod -c -x Changes %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 -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +%{_fixperms} $RPM_BUILD_ROOT %check ./Build test @@ -53,12 +50,20 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) %doc Changes README -%{perl_vendorlib}/* -%{_mandir}/man3/* +%{perl_vendorlib}/Test/ +%{_mandir}/man3/Test::Exception.3pm* %changelog +* Mon Apr 29 2013 Paul Howarth - 0.32-1 +- Update to 0.32 + - Fixed tests that broke due to diagnostic changes in Test::More 0.99 +- Don't use macros for commands +- Don't need to remove empty directories from the buildroot +- Drop %%defattr, redundant since rpm 4.4 +- Make %%files list more explicit +- Remove bogus exec permission on Changes file + * Thu Feb 14 2013 Fedora Release Engineering - 0.31-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild @@ -81,7 +86,7 @@ rm -rf $RPM_BUILD_ROOT - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 22 2010 Marcela Maslanova - 0.31-2 -- 661697 rebuild for fixing problems with vendorach/lib +- Rebuild to fix problems with vendorarch/lib (#661697) * Fri Dec 10 2010 Steven Pritchard 0.31-1 - Update to 0.31. @@ -139,8 +144,8 @@ rm -rf $RPM_BUILD_ROOT - Avoid .packlist creation with Module::Build >= 0.2609. - Trust that %%{perl_vendorlib} is defined. -* Fri Apr 7 2005 Michael Schwendt - 0.20-2 -- rebuilt +* Wed Apr 6 2005 Michael Schwendt - 0.20-2 +- Rebuilt * Fri Nov 5 2004 Jose Pedro Oliveira - 0.20-1 - Update to 0.20. diff --git a/sources b/sources index 5a484ba..a7360b4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -adb57ca7614d15e5b307bf5e024b35a8 Test-Exception-0.31.tar.gz +50e985a335842540b69ea886eeed8a7f Test-Exception-0.32.tar.gz