diff --git a/audacious-plugins.spec b/audacious-plugins.spec index 077dacb..b75f3de 100644 --- a/audacious-plugins.spec +++ b/audacious-plugins.spec @@ -77,6 +77,10 @@ BuildRequires: pkgconfig(Qt5Multimedia) BuildRequires: pkgconfig(ampache_browser_1) BuildRequires: make +%if 0%{?rhel} && 0%{?rhel} < 8 +BuildRequires: devtoolset-8-toolchain +%endif + # plugin .so files %if 0%{?fedora} > 29 @@ -150,6 +154,10 @@ sed -i '\,^.SILENT:,d' buildsys.mk.in # Enforce availability of the audacious(plugin-api) dependency. %{!?aud_plugin_dep:echo 'No audacious(plugin-api) dependency!' && exit -1} +%if 0%{?rhel} && 0%{?rhel} < 8 +. /opt/rh/devtoolset-8/enable +%endif + # temporarily was required to make Qt's MOC accessible #rm -rf _bin #mkdir _bin