From e79592b284be52476a57b5eb4d8f7b03e4afe29a7c7e24eb3cc47a56e3205d9c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 24 Feb 2022 23:07:10 +0000 Subject: [PATCH] Fix %if condition OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dmidecode?expand=0&rev=6 --- python-dmidecode.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-dmidecode.spec b/python-dmidecode.spec index 571282e..de21d72 100644 --- a/python-dmidecode.spec +++ b/python-dmidecode.spec @@ -36,7 +36,7 @@ Patch2: detect-lib-with-py3.patch # use sys.version_info instead of sys.version Patch3: 31-version_info-v-version.patch BuildRequires: %{python_module devel} -%if 0%{?is_opensuse} || 0%{?sle_version} >= 150400 +%if 0%{?sle_version} >= 150400 BuildRequires: %{python_module libxml2} %else BuildRequires: %{oldpython}-libxml2-python