- Change to Requires: libpython%{so_version} == %{version}-%{release}

to python-base to keep both packages always synchronized (add
  %{so_version}) (bsc#1162224).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:Factory/python?expand=0&rev=277
This commit is contained in:
Matej Cepl 2020-02-08 21:33:28 +00:00 committed by Git OBS Bridge
parent f814036fff
commit 57a2c463f0
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Feb 8 22:30:51 CET 2020 - Matej Cepl <mcepl@suse.com>
- Change to Requires: libpython%{so_version} == %{version}-%{release}
to python-base to keep both packages always synchronized (add
%{so_version}) (bsc#1162224).
-------------------------------------------------------------------
Thu Feb 6 23:14:47 CET 2020 - Matej Cepl <mcepl@suse.com>

View File

@ -16,6 +16,8 @@
#
%define so_version 2_7-1_0
Name: python-base
Version: 2.7.17
Release: 0
@ -105,7 +107,7 @@ BuildRequires: zlib-devel
BuildRequires: netcfg
Requires: python-rpm-macros
# explicitly, see bnc#697251:
Requires: libpython2_7-1_0 = %{version}
Requires: libpython%{so_version} = %{version}-%{release}
Provides: %{name} = %{python_version}
# bug437293
%ifarch ppc64
@ -161,7 +163,7 @@ Provides: python2-xml = %{version}
The expat module is a Python interface to the expat XML parser. Since
Python2.x, it is part of the core Python distribution.
%package -n libpython2_7-1_0
%package -n libpython%{so_version}
Summary: Python Interpreter shared library
Group: Development/Languages/Python