From 11b59120b4b653f7915851ada6673e3d38b032f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 15 May 2022 09:14:59 +0200 Subject: RPM: add support for openSuse Leap 15.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- redhat/dependencies/sip4-tqt/sip4-tqt.spec | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'redhat/dependencies/sip4-tqt') diff --git a/redhat/dependencies/sip4-tqt/sip4-tqt.spec b/redhat/dependencies/sip4-tqt/sip4-tqt.spec index 6830f92d8..a2bf18df4 100644 --- a/redhat/dependencies/sip4-tqt/sip4-tqt.spec +++ b/redhat/dependencies/sip4-tqt/sip4-tqt.spec @@ -82,8 +82,13 @@ BuildRequires: flex %global __python %__python2 %global python_sitearch %{python2_sitearch} %else +%if 0%{?sle_version} >= 150400 +%global python python3 +%global __python %__python3 +%else %global python python %endif +%endif %{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} BuildRequires: %{python} BuildRequires: %{python}-devel -- cgit v1.2.1