From 29b7913d47cb3561ea23d39e146e1ec02be5c87fad300e03bce9791305b13170 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 10 Oct 2022 12:25:00 +0000 Subject: [PATCH] Small SPEC cleanups OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dmidecode?expand=0&rev=17 --- python-dmidecode.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python-dmidecode.spec b/python-dmidecode.spec index 89d5291..a3c6a94 100644 --- a/python-dmidecode.spec +++ b/python-dmidecode.spec @@ -38,8 +38,8 @@ 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 <= 3.12.2+git.1625035095.f0a089a -Obsoletes: python-python-dmidecode <= 3.12.2+git.1625035095.f0a089a +Obsoletes: %{oldpython}-dmidecode <= %{version} +Obsoletes: python-python-dmidecode <= %{version} BuildRequires: %{python_module devel} %if 0%{?sle_version} >= 150400 || 0%{?suse_version} >= 1550 BuildRequires: %{python_module libxml2} @@ -107,7 +107,7 @@ fi %ghost %{_sysconfdir}/alternatives/pymap.xml %ghost %{_datadir}/python-dmidecode/pymap.xml %{_datadir}/python-dmidecode/pymap-%{python_bin_suffix}.xml -# %{python_sitearch}/python_dmidecode-%{version}*-info +# %%{python_sitearch}/python_dmidecode-%%{version}*-info %{python_sitearch}/python_dmidecode-3.12.2*-info %{python_sitearch}/dmidecode* %pycache_only %{python_sitearch}/__pycache__/dmidecode*.py[co]