From 39ba9ebd2983fb07aebf4327f2b683077bc41091 Mon Sep 17 00:00:00 2001 From: Robert Scheck Date: Sat, 4 Nov 2023 21:37:48 +0100 Subject: [PATCH] Fix building on RHEL/CentOS 7 --- ampache_browser.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ampache_browser.spec b/ampache_browser.spec index 7e89bda..d48a3e4 100644 --- a/ampache_browser.spec +++ b/ampache_browser.spec @@ -43,7 +43,11 @@ developing applications that use %{name}. %build %if 0%{?rhel} && 0%{?rhel} < 8 -%global __cmake %{_bindir}/cmake3 +%global cmake %cmake3 +%global cmake_build %cmake3_build +%global cmake_install %cmake3_install +# Simplified https://github.com/ampache-browser/ampache_browser/pull/7 +sed -e 's/Qt::/Qt5::/g' -i CMakeLists.txt %endif %cmake -D USE_QT6=OFF .