From b8e3e618817acbf79217d39b0694f6c021625b67 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Dec 14 2019 03:37:40 +0000 Subject: Add %{_qt5_bindir} to PATH when building with qt5 --- diff --git a/x2goclient.spec b/x2goclient.spec index 89621d5..d980ab2 100644 --- a/x2goclient.spec +++ b/x2goclient.spec @@ -83,7 +83,11 @@ sed -i -e '/^LIBS /s/$/ -ldl/' x2goclient.pro %build +%if 0%{?fedora} || 0%{?rhel} >= 8 +export PATH=%{_qt5_bindir}:$PATH +%else export PATH=%{_qt4_bindir}:$PATH +%endif %make_build