[perl-Catalyst-Devel/el6/master] skip t/generated_app

Iain Arnell iarnell at fedoraproject.org
Thu Sep 2 03:57:50 UTC 2010


commit 7ed8600059c687ec0e3d3c79a59f504ac8163ce0
Author: Iain Arnell <iarnell at gmail.com>
Date:   Thu Sep 2 05:57:20 2010 +0200

    skip t/generated_app
    
    because RHEL's Test::More doesn't support subtest

 perl-Catalyst-Devel.spec |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/perl-Catalyst-Devel.spec b/perl-Catalyst-Devel.spec
index 00c1ec0..77ed1e1 100644
--- a/perl-Catalyst-Devel.spec
+++ b/perl-Catalyst-Devel.spec
@@ -1,7 +1,7 @@
 Name:           perl-Catalyst-Devel
 Summary:        Catalyst Development Tools
 Version:        1.28
-Release:        1%{?dist}
+Release:        1%{?dist}.1
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/Catalyst-Devel-%{version}.tar.gz
@@ -15,7 +15,6 @@ BuildRequires:  perl(Catalyst::Action::RenderView) >= 0.10
 BuildRequires:  perl(Catalyst::Plugin::ConfigLoader) >= 0.23
 BuildRequires:  perl(Catalyst::Plugin::Static::Simple) >= 0.28
 BuildRequires:  perl(Config::General) >= 2.42
-BuildRequires:  perl(CPAN)
 BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
 BuildRequires:  perl(File::ChangeNotify) >= 0.07
 BuildRequires:  perl(File::Copy::Recursive)
@@ -63,6 +62,11 @@ Catalyst are now known as Catalyst::Runtime.
 %prep
 %setup -q -n Catalyst-Devel-%{version}
 
+sed -i -e '/auto_install/d' Makefile.PL
+
+# Test::More in RHEL doesn't support subtest
+rm -f t/generated_app.t
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -92,6 +96,9 @@ rm -rf %{buildroot}
 %exclude %{perl_vendorlib}/Catalyst/Restarter/Win32.pm
 
 %changelog
+* Thu Sep 02 2010 Iain Arnell <iarnell at gmail.com> 1.28-1.1
+- skip t/generated_app because RHEL's Test::More doesn't support subtest
+
 * Tue Aug 31 2010 Iain Arnell <iarnell at gmail.com> 1.28-1
 - update to latest upstream
 


More information about the scm-commits mailing list