drop tests subpackage

This commit is contained in:
Iain Arnell 2012-01-22 11:26:55 +01:00
parent 00304e1c5d
commit 9e9c161c35

View File

@ -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@gmail.com> 0.11-3
- drop tests subpackage; move tests to main package documentation
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild