- provide python2-* symbols, for support of new packages built as

python2-foo
- rename macros.python to macros.python2 accordingly
- require python-rpm-macros package, drop macro definitions from
  macros.python2

- provide python2-* symbols, for support of new packages built as
  python2-foo

- provide python2-* symbols, for support of new packages built as
  python2-foo

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=198
This commit is contained in:
Jan Matejek
2016-12-02 15:37:55 +00:00
committed by Git OBS Bridge
parent 23d372d986
commit f21ffdf240
8 changed files with 59 additions and 22 deletions

View File

@@ -83,6 +83,7 @@ Requires: python-base = %{version}
Recommends: python-strict-tls-check
%endif
Provides: %{name} = %{python_version}
Provides: python2 = %{version}
Obsoletes: python-elementtree
Obsoletes: python-nothreads
Obsoletes: python-sqlite
@@ -107,6 +108,7 @@ Summary: An Integrated Development Environment for Python
Group: Development/Languages/Python
Requires: python-base = %{version}
Requires: python-tk
Provides: python2-idle = %{version}
%description idle
IDLE is a Tkinter based integrated development environment for Python.
@@ -120,6 +122,7 @@ Group: Development/Languages/Python
Requires: python-base = %{version}
Provides: pyth_dmo
Obsoletes: pyth_dmo
Provides: python2-demo = %{version}
%description demo
Various demonstrations of what you can do with Python and a number of
@@ -139,6 +142,7 @@ Provides: python_tkinter_lib
Obsoletes: pyth_tk
Obsoletes: pyth_tkl
Obsoletes: python-tkinter
Provides: python2-tk = %{version}
%description tk
Python interface to Tk. Tk is the GUI toolkit that comes with Tcl. The
@@ -150,6 +154,7 @@ Group: Development/Libraries/Python
Requires: python-base = %{version}
Obsoletes: pyth_cur
Provides: pyth_cur
Provides: python2-curses = %{version}
%description curses
An easy to use interface to the (n)curses CUI library. CUI stands for
@@ -161,6 +166,7 @@ Group: Development/Libraries/Python
Requires: python-base = %{version}
Obsoletes: pygdmod
Provides: pygdmod
Provides: python2-gdbm = %{version}
%description gdbm
An easy to use interface for GDBM databases. GDBM is the GNU