Drop tests subpackage; move tests to main package documentation

This commit is contained in:
Paul Howarth 2014-01-31 18:35:39 +00:00
parent 2e9d974ba7
commit dedee21138

View File

@ -1,7 +1,7 @@
Name: perl-Scope-Guard
Summary: Lexically scoped resource management
Version: 0.20
Release: 10%{?dist}
Release: 11%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHOCOLATE/Scope-Guard-%{version}.tar.gz
@ -13,8 +13,12 @@ BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
# obsolete/provide old tests subpackage
# can be removed during F23 development cycle
Obsoletes: %{name}-tests < 0.20-11
Provides: %{name}-tests = %{version}-%{release}
%{?perl_default_filter}
%{?perl_default_subpackage_tests}
%description
This module provides a convenient way to perform cleanup or other forms of
@ -45,11 +49,14 @@ make test
%files
%defattr(-,root,root,-)
%doc Changes README
%doc Changes README t/
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Fri Jan 31 2014 Paul Howarth <paul@city-fan.org> - 0.20-11
- Drop tests subpackage; move tests to main package documentation
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild