diff --git a/python-base.changes b/python-base.changes index d11a603..b935f47 100644 --- a/python-base.changes +++ b/python-base.changes @@ -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> diff --git a/python-base.spec b/python-base.spec index cd72990..3c763ee 100644 --- a/python-base.spec +++ b/python-base.spec @@ -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