[perl-Try-Tiny] drop tests subpackage
Iain Arnell
iarnell at fedoraproject.org
Sun Jan 22 10:27:08 UTC 2012
commit 9e9c161c3564c03358ec10dc8758aa58ec0c33f4
Author: Iain Arnell <iarnell at gmail.com>
Date: Sun Jan 22 11:26:55 2012 +0100
drop tests subpackage
perl-Try-Tiny.spec | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/perl-Try-Tiny.spec b/perl-Try-Tiny.spec
index 33b1482..bab25a9 100644
--- a/perl-Try-Tiny.spec
+++ b/perl-Try-Tiny.spec
@@ -1,7 +1,7 @@
Name: perl-Try-Tiny
Summary: Minimal try/catch with proper localization of $@
Version: 0.11
-Release: 2%{?dist}
+Release: 3%{?dist}
License: MIT
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DOY/Try-Tiny-%{version}.tar.gz
@@ -12,8 +12,12 @@ BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
+# obsolete/provide old tests subpackage
+# can be removed during F19 development cycle
+Obsoletes: %{name}-tests < 0.11-3
+Provides: %{name}-tests = %{version}-%{release}
+
%{?perl_default_filter}
-%{?perl_default_subpackage_tests}
%description
The main focus of this module is to provide simple and reliable error
@@ -39,11 +43,14 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
make test
%files
-%doc Changes
+%doc Changes t/
%{perl_vendorlib}/Try/
%{_mandir}/man3/Try::Tiny.3pm*
%changelog
+* Sun Jan 22 2012 Iain Arnell <iarnell at gmail.com> 0.11-3
+- drop tests subpackage; move tests to main package documentation
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
More information about the scm-commits
mailing list