[perl-Data-OptList] Obsolete/provide old -tests subpackage to support upgrades
Paul Howarth
pghmcfc at fedoraproject.org
Sat Jan 21 13:55:57 UTC 2012
commit c09fc5815bddf2cf6a6ae38a1b18977c6d401606
Author: Paul Howarth <paul at city-fan.org>
Date: Sat Jan 21 13:55:30 2012 +0000
Obsolete/provide old -tests subpackage to support upgrades
perl-Data-OptList.spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/perl-Data-OptList.spec b/perl-Data-OptList.spec
index 6f4d1f5..91ba784 100644
--- a/perl-Data-OptList.spec
+++ b/perl-Data-OptList.spec
@@ -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 at city-fan.org> - 0.107-5
+- obsolete/provide old -tests subpackage to support upgrades
+
* Fri Jan 20 2012 Paul Howarth <paul at city-fan.org> - 0.107-4
- drop -tests subpackage (general lack of interest in this), but include
them as documentation for the main package
More information about the perl-devel
mailing list