From 0b0647895fa07d849157b904fb3c9f3760ec385bc25f63c4cb88092de1dc4a32 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 24 Feb 2022 23:00:32 +0000 Subject: [PATCH] Fix %if condition OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dmidecode?expand=0&rev=5 --- python-dmidecode.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-dmidecode.spec b/python-dmidecode.spec index de21d72..571282e 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%{?sle_version} >= 150400 +%if 0%{?is_opensuse} || 0%{?sle_version} >= 150400 BuildRequires: %{python_module libxml2} %else BuildRequires: %{oldpython}-libxml2-python