[python] for now, drop "obsoletes" of python-argparse, since it interracts badly with multilib (rhbz#667984)

dmalcolm dmalcolm at fedoraproject.org
Fri Jan 7 20:45:35 UTC 2011


commit f81cc6682129531a473f488d14ec4ea988c9f854
Author: David Malcolm <dmalcolm at redhat.com>
Date:   Fri Jan 7 15:42:22 2011 -0500

    for now, drop "obsoletes" of python-argparse, since it interracts badly with multilib (rhbz#667984)

 python.spec |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)
---
diff --git a/python.spec b/python.spec
index 055aee7..927b394 100644
--- a/python.spec
+++ b/python.spec
@@ -94,7 +94,7 @@ Summary: An interpreted, interactive, object-oriented programming language
 Name: %{python}
 # Remember to also rebase python-docs when changing this:
 Version: 2.7.1
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: Python
 Group: Development/Languages
 Requires: %{python}-libs%{?_isa} = %{version}-%{release}
@@ -102,12 +102,6 @@ Provides: python-abi = %{pybasever}
 Provides: python(abi) = %{pybasever}
 Source: http://www.python.org/ftp/python/%{version}/Python-%{version}.tar.bz2
 
-# python-argparse is part of python as of version 2.7
-# drop this Provides/Obsoletes in F17
-Provides:   python-argparse = %{version}-%{release}
-Obsoletes:  python-argparse < 1.1-3
-
-
 # Work around bug 562906 until it's fixed in rpm-build by providing a fixed
 # version of pythondeps.sh:
 Source2: pythondeps.sh
@@ -451,6 +445,11 @@ Obsoletes: python-hashlib < 20081120
 Provides: python-hashlib = 20081120
 Obsoletes: python-uuid < 1.31
 Provides: python-uuid = 1.31
+
+# python-argparse is part of python as of version 2.7
+# drop this Provides in F17
+# (having Obsoletes here caused problems with multilib; see rhbz#667984)
+Provides:   python-argparse = %{version}-%{release}
 %endif
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -1622,6 +1621,10 @@ rm -fr %{buildroot}
 # payload file would be unpackaged)
 
 %changelog
+* Fri Jan  7 2011 David Malcolm <dmalcolm at redhat.com> - 2.7.1-4
+- for now, drop "obsoletes" of python-argparse, since it interracts badly with
+multilib (rhbz#667984)
+
 * Fri Jan  7 2011 Thomas Spura <tomspur at fedoraproject.org> - 2.7.1-3
 - obsolete/provide python-argparse (new in 2.7)
 


More information about the scm-commits mailing list