obsolete/provide python-argparse (new in 2.7)

This commit is contained in:
Thomas Spura 2011-01-07 01:02:26 +01:00
parent 1b4e012f7f
commit 6159c1e8c7
1 changed files with 9 additions and 1 deletions

View File

@ -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@fedoraproject.org> - 2.7.1-3
- obsolete/provide python-argparse (new in 2.7)
* Thu Jan 6 2011 David Malcolm <dmalcolm@redhat.com> - 2.7.1-2
- fix the ppc build of the debug configuration (patch 130; rhbz#661510)