[perl-common-sense] Obsolete/provide old -tests subpackage to support upgrades

Paul Howarth pghmcfc at fedoraproject.org
Sat Jan 21 13:48:43 UTC 2012


commit ed25b39f88f5438221136f594baa6463ee7f8e88
Author: Paul Howarth <paul at city-fan.org>
Date:   Sat Jan 21 13:48:33 2012 +0000

    Obsolete/provide old -tests subpackage to support upgrades

 perl-common-sense.spec |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/perl-common-sense.spec b/perl-common-sense.spec
index 434d73f..f621efb 100644
--- a/perl-common-sense.spec
+++ b/perl-common-sense.spec
@@ -1,7 +1,7 @@
 Name:		perl-common-sense
 Summary:	"Common sense" Perl defaults 
 Version:	3.4
-Release:	4%{?dist}
+Release:	5%{?dist}
 License:	GPL+ or Artistic
 Group:		Development/Libraries
 Source0:	http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-%{version}.tar.gz 
@@ -11,6 +11,10 @@ BuildArch:	noarch
 BuildRequires:	perl(ExtUtils::MakeMaker)
 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
 This module implements some sane defaults for Perl programs, as defined
 by two typical (or not so typical - use your common sense) specimens of
@@ -47,6 +51,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/common::sense.3pm*
 
 %changelog
+* Sat Jan 21 2012 Paul Howarth <paul at city-fan.org> - 3.4-5
+- Obsolete/provide old -tests subpackage to support upgrades
+
 * Thu Jan 19 2012 Paul Howarth <paul at city-fan.org> - 3.4-4
 - Reinstate compatibility with older distributions like EL-5
 - Drop -tests subpackage (general lack of interest in this), but include


More information about the scm-commits mailing list