From 60c44e4eee99ce562caf1f12d3d80623eba613dde5f0d0fc74b05a1520c0cb80 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 7 Mar 2022 13:44:48 +0000 Subject: [PATCH] - Add missing Obsoletes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dmidecode?expand=0&rev=11 --- python-dmidecode.changes | 5 +++++ python-dmidecode.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-dmidecode.changes b/python-dmidecode.changes index be45164..c236969 100644 --- a/python-dmidecode.changes +++ b/python-dmidecode.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 7 13:44:33 UTC 2022 - Matej Cepl + +- Add missing Obsoletes + ------------------------------------------------------------------- Fri Mar 4 09:24:04 UTC 2022 - Matej Cepl diff --git a/python-dmidecode.spec b/python-dmidecode.spec index 7178a53..0c5849c 100644 --- a/python-dmidecode.spec +++ b/python-dmidecode.spec @@ -33,8 +33,7 @@ Patch2: detect-lib-with-py3.patch # PATCH-FIX-UPSTREAM 31-version_info-v-version.patch gh#nima/python-dmidecode#31 mcepl@suse.com # use sys.version_info instead of sys.version Patch3: 31-version_info-v-version.patch -Provides: python-dmidecode = %{version}-%{release} -Obsoletes: python-dmidecode < %{version}-%{release} +Obsoletes: %{oldpython}-dmidecode < %{version}-%{release} BuildRequires: %{python_module devel} %if 0%{?sle_version} && 0%{?sle_version} < 150400 BuildRequires: python2-libxml2-python