commit 4ef8996fccf8822d2c11ab4e1f2d2e26a5db79bd Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Mon Aug 8 18:29:26 2011 +0100 Revert to same as EPEL-5 package .gitignore | 4 +-- perl-Test-Warn.spec | 52 +++++++++++++------------------------------------- 2 files changed, 15 insertions(+), 41 deletions(-) --- diff --git a/.gitignore b/.gitignore index 766bb0f..de5c9b7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -Test-Warn-0.21.zip -/Test-Warn-0.22.tar.gz -/Test-Warn-0.23.tar.gz +/Test-Warn-[0-9.]*.tar.gz diff --git a/perl-Test-Warn.spec b/perl-Test-Warn.spec index 3f9ea7c..555706e 100644 --- a/perl-Test-Warn.spec +++ b/perl-Test-Warn.spec @@ -1,27 +1,30 @@ Name: perl-Test-Warn -Version: 0.23 +Version: 0.11 Release: 2%{?dist} Summary: Perl extension to test methods for warnings + Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/Test-Warn/ -Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Test-Warn-%{version}.tar.gz +Source0: http://www.cpan.org/authors/id/C/CH/CHORNY/Test-Warn-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + BuildArch: noarch +BuildRequires: perl(Array::Compare) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) BuildRequires: perl(Sub::Uplevel) >= 0.12 BuildRequires: perl(Test::Builder) >= 0.13 -BuildRequires: perl(Test::Builder::Tester) >= 1.02 +BuildRequires: perl(Test::Builder::Tester) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Tree::DAG_Node) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(Test::Builder) >= 0.13 -Requires: perl(Test::Builder::Tester) >= 1.02 +Requires: perl(Test::Builder::Tester) Requires: perl(Tree::DAG_Node) -%{?perl_default_filter} %description This module provides a few convenience methods for testing warning @@ -38,16 +41,21 @@ make %{?_smp_mflags} %install +rm -rf $RPM_BUILD_ROOT 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/* +chmod -R u+w $RPM_BUILD_ROOT/* %check make test +%clean +rm -rf $RPM_BUILD_ROOT + + %files %defattr(-,root,root,-) %doc Changes README @@ -56,38 +64,6 @@ make test %changelog -* Thu Jun 23 2011 Marcela Mašláňová <mmaslano@xxxxxxxxxx> - 0.23-2 -- Perl mass rebuild -- remove unused BR Array::Compare - -* Wed Mar 2 2011 Tom Callaway <spot@xxxxxxxxxxxxxxxxx> - 0.23-1 -- update to 0.23 - -* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.22-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Tue Jan 4 2011 Tom Callaway <spot@xxxxxxxxxxxxxxxxx> - 0.22-1 -- update to 0.22 - -* Wed Dec 22 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.21-4 -- 661697 rebuild for fixing problems with vendorach/lib - -* Fri May 07 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.21-3 -- Mass rebuild with perl-5.12.0 - -* Fri Dec 4 2009 Stepan Kasal <skasal@xxxxxxxxxx> - 0.21-2 -- rebuild against perl 5.10.1 - -* Fri Sep 11 2009 Chris Weyl <cweyl@xxxxxxxxxxxxxxx> 0.21-1 -- add perl default filter (pro forma) -- use _fixperms incantation -- auto-update to 0.21 (by cpan-spec-update 0.01) -- altered br on perl(Test::Builder::Tester) (0 => 1.02) -- altered req on perl(Test::Builder::Tester) (0 => 1.02) - -* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.11-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel