[python] obsolete/provide python-argparse (new in 2.7)
tomspur
tomspur at fedoraproject.org
Fri Jan 7 00:02:44 UTC 2011
commit 6159c1e8c7abd66bca9c9703bdf066f70297a448
Author: Thomas Spura <tomspur at fedoraproject.org>
Date: Fri Jan 7 01:02:26 2011 +0100
obsolete/provide python-argparse (new in 2.7)
python.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/python.spec b/python.spec
index c9990e5..055aee7 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: 2%{?dist}
+Release: 3%{?dist}
License: Python
Group: Development/Languages
Requires: %{python}-libs%{?_isa} = %{version}-%{release}
@@ -102,6 +102,11 @@ 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:
@@ -1617,6 +1622,9 @@ rm -fr %{buildroot}
# payload file would be unpackaged)
%changelog
+* Fri Jan 7 2011 Thomas Spura <tomspur at fedoraproject.org> - 2.7.1-3
+- obsolete/provide python-argparse (new in 2.7)
+
* Thu Jan 6 2011 David Malcolm <dmalcolm at redhat.com> - 2.7.1-2
- fix the ppc build of the debug configuration (patch 130; rhbz#661510)
More information about the scm-commits
mailing list