[perl-SQL-Translator] drop tests subpackage

Iain Arnell iarnell at fedoraproject.org
Sun Jan 22 10:35:15 UTC 2012


commit 299a7f40aaaa5da844efed351b4c2ddf720a97f1
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Jan 22 11:35:03 2012 +0100

    drop tests subpackage

 perl-SQL-Translator.spec |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)
---
diff --git a/perl-SQL-Translator.spec b/perl-SQL-Translator.spec
index 3b92510..bec66c5 100644
--- a/perl-SQL-Translator.spec
+++ b/perl-SQL-Translator.spec
@@ -1,7 +1,7 @@
 Name:           perl-SQL-Translator
 Summary:        Manipulate structured data definitions (SQL and more)
 Version:        0.11010
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        GPLv2
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/J/JR/JROBINSON/SQL-Translator-%{version}.tar.gz
@@ -54,15 +54,14 @@ Requires:       perl(IO::Scalar) >= 2.11
 Requires:       perl(Parse::RecDescent) >= 1.963
 Requires:       perl(XML::Writer) >= 0.5
 
+# obsolete/provide old tests subpackage
+# can be removed during F19 development cycle
+Obsoletes:      %{name}-tests < 0.11010-3
+Provides:       %{name}-tests = %{version}-%{release}
 
-%{?perl_default_filter:
-%filter_from_requires /^perl(:)$/d
-%perl_default_filter
-}
+%?perl_default_filter
 %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(:\\)
 
-%{?perl_default_subpackage_tests}
-
 %description
 SQL::Translator is a group of Perl modules that converts vendor-specific
 SQL table definitions into other formats, such as other vendor-specific
@@ -100,12 +99,16 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 make test
 
 %files
-%doc AUTHORS BUGS Changes LICENSE README
+%doc AUTHORS BUGS Changes LICENSE README t/
 %{_bindir}/*
 %{perl_vendorlib}/*
 %{_mandir}/man[13]/*
 
 %changelog
+* Sun Jan 22 2012 Iain Arnell <iarnell at gmail.com> 0.11010-3
+- drop tests subpackage; move tests to main package documentation
+- drop old-style filtering
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.11010-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 



More information about the perl-devel mailing list