diff --git a/python-dmidecode.spec b/python-dmidecode.spec index 0c5849c..7484571 100644 --- a/python-dmidecode.spec +++ b/python-dmidecode.spec @@ -33,7 +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 -Obsoletes: %{oldpython}-dmidecode < %{version}-%{release} +Obsoletes: %{oldpython}-dmidecode <= 3.12.2+git.1625035095.f0a089a BuildRequires: %{python_module devel} %if 0%{?sle_version} && 0%{?sle_version} < 150400 BuildRequires: python2-libxml2-python