[perl-B-Hooks-OP-Check] drop tests subpackage

Iain Arnell iarnell at fedoraproject.org
Sun Jan 22 08:01:03 UTC 2012


commit a8973232ea179f9275bd18ceae47092a8d2aca76
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sun Jan 22 09:00:40 2012 +0100

    drop tests subpackage

 perl-B-Hooks-OP-Check.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/perl-B-Hooks-OP-Check.spec b/perl-B-Hooks-OP-Check.spec
index c3a91bd..f2b33b5 100644
--- a/perl-B-Hooks-OP-Check.spec
+++ b/perl-B-Hooks-OP-Check.spec
@@ -1,7 +1,7 @@
 Name:           perl-B-Hooks-OP-Check
 Summary:        Wrap OP check callbacks
 Version:        0.19
-Release:        2%{?dist}
+Release:        3%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 Source0:        http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/B-Hooks-OP-Check-%{version}.tar.gz
@@ -15,8 +15,12 @@ BuildRequires:  perl(Test::More)
 
 Requires:       perl(parent)
 
+# obsolete/provide old tests subpackage
+# can be removed during F19 development cycle
+Obsoletes:      %{name}-tests < 0.19-3
+Provides:       %{name}-tests = %{version}-%{release}
+
 %{?perl_default_filter}
-%{?perl_default_subpackage_tests}
 
 %description
 This module provides a C API for XS modules to hook into the callbacks
@@ -41,12 +45,15 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
 make test
 
 %files
-%doc Changes README
+%doc Changes README t/
 %{perl_vendorarch}/*
 %exclude %dir %{perl_vendorarch}/auto
 %{_mandir}/man3/*.3*
 
 %changelog
+* Sun Jan 22 2012 Iain Arnell <iarnell at gmail.com> 0.19-3
+- drop old tests subpackage; move tests to main package documentation
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.19-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 



More information about the perl-devel mailing list