drop tests subpackage

This commit is contained in:
Iain Arnell 2012-01-22 11:40:37 +01:00
parent e2633ca526
commit cd9eb1c055

View File

@ -1,7 +1,7 @@
Name: perl-namespace-clean
Summary: Keep your namespace tidy
Version: 0.21
Release: 2%{?dist}
Release: 3%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/R/RI/RIBASUSHI/namespace-clean-%{version}.tar.gz
@ -27,8 +27,12 @@ Requires: perl(B::Hooks::EndOfScope) >= 0.07
Requires: perl(Sub::Identify) >= 0.04
Requires: perl(Sub::Name) >= 0.04
# obsolete/provide old tests subpackage
# can be removed during F19 development cycle
Obsoletes: %{name}-tests < 0.21-3
Provides: %{name}-tests = %{version}-%{release}
%{?perl_default_filter}
%{?perl_default_subpackage_tests}
%description
When you define a function, or import one, into a Perl package, it will
@ -60,11 +64,14 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
make test
%files
%doc Changes
%doc Changes t/
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Sun Jan 22 2012 Iain Arnell <iarnell@gmail.com> 0.21-3
- drop tests subpackage; move tests to main package documentation
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild