Obsolete/provide old -tests subpackage to support upgrades

epel9
Paul Howarth 13 years ago
parent 0c7f167908
commit dda79500e2

@ -3,7 +3,7 @@
Name: perl-Class-C3
Version: 0.23
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Pragma to use the C3 method resolution order algorithm
License: GPL+ or Artistic
Group: Development/Libraries
@ -40,6 +40,10 @@ Requires: perl(Scalar::Util) >= 1.10
# Let people "use c3;"
Provides: perl(c3) = %{version}
# Obsolete/provide old -tests subpackage (can be removed in F19 development cycle)
Obsoletes: %{name}-tests < %{version}-%{release}
Provides: %{name}-tests = %{version}-%{release}
# Filter out bogus dependencies and provides (rpm 4.9 onwards)
%global __requires_exclude ^perl\\((c3|base)\\)
%global __provides_exclude ^perl\\(t::lib::
@ -86,6 +90,9 @@ rm -rf %{buildroot}
%{_mandir}/man3/Class::C3::next.3pm*
%changelog
* Sat Jan 21 2012 Paul Howarth <paul@city-fan.org> - 0.23-5
- Obsolete/provide old -tests subpackage to support upgrades
* Wed Jan 18 2012 Paul Howarth <paul@city-fan.org> - 0.23-4
- Reinstate compatibility with older distributions like EL-5
- Drop -tests subpackage (general lack of interest in this), but include

Loading…
Cancel
Save