[perl-Catalyst-View-TT] drop tests subpackage

Iain Arnell iarnell at fedoraproject.org
Sun Jan 22 08:43:55 UTC 2012


commit 88fe9f282db4f6e3738080f081af72c957a6cefe
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Jan 22 09:43:43 2012 +0100

    drop tests subpackage

 perl-Catalyst-View-TT.spec |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/perl-Catalyst-View-TT.spec b/perl-Catalyst-View-TT.spec
index 7e4f2c8..aa354f7 100644
--- a/perl-Catalyst-View-TT.spec
+++ b/perl-Catalyst-View-TT.spec
@@ -1,7 +1,7 @@
 Name:           perl-Catalyst-View-TT
 Summary:        Template Toolkit View Class
 Version:        0.37
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/M/MS/MSTROUT/Catalyst-View-TT-%{version}.tar.gz
@@ -27,8 +27,12 @@ Requires:       perl(Path::Class)
 Requires:       perl(Template)
 Requires:       perl(Template::Timer)
 
+# obsolete/provide old tests subpackage
+# can be removed during F19 development cycle
+Obsoletes:      %{name}-tests < 0.37-3
+Provides:       %{name}-tests = %{version}-%{release}
+
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
 
 %description
 This is the Catalyst view base class for the Template Toolkit.
@@ -38,6 +42,9 @@ This is the Catalyst view base class for the Template Toolkit.
 
 find . -type f -exec chmod -x -c {} +
 
+# silence rpmlint warnings
+sed -i 's/\r//' t/lib/TestApp/Template/Any.pm
+
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
@@ -59,6 +66,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Sun Jan 22 2012 Iain Arnell <iarnell at gmail.com> 0.37-3
+- drop tests subpackage
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.37-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 



More information about the perl-devel mailing list