From 57a2c463f018fb0e12684bf1d15e38c8c83fcb112dcfd8f728214aa66afd4101 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sat, 8 Feb 2020 21:33:28 +0000 Subject: [PATCH] - 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 --- python-base.changes | 7 +++++++ python-base.spec | 6 ++++-- 2 files changed, 11 insertions(+), 2 deletions(-) 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 + +- 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 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