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 .