Obsolete/provide old -tests subpackage to support upgrades

This commit is contained in:
Paul Howarth 2012-01-21 13:55:30 +00:00
parent 9b6ccf963c
commit c09fc5815b

View File

@ -1,7 +1,7 @@
Name: perl-Data-OptList
Summary: Parse and validate simple name/value option pairs
Version: 0.107
Release: 4%{?dist}
Release: 5%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Data-OptList/
@ -15,6 +15,10 @@ BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
# Obsolete/provide old -tests subpackage (can be removed in F19 development cycle)
Obsoletes: %{name}-tests < %{version}-%{release}
Provides: %{name}-tests = %{version}-%{release}
%description
Hashes are great for storing named data, but if you want more than one entry
for a name, you have to use a list of pairs. Even then, this is really boring
@ -59,6 +63,9 @@ make test RELEASE_TESTING=1
%{_mandir}/man3/Data::OptList.3pm*
%changelog
* Sat Jan 21 2012 Paul Howarth <paul@city-fan.org> - 0.107-5
- obsolete/provide old -tests subpackage to support upgrades
* Fri Jan 20 2012 Paul Howarth <paul@city-fan.org> - 0.107-4
- drop -tests subpackage (general lack of interest in this), but include
them as documentation for the main package