diff --git a/qmmp.changes b/qmmp.changes index d634774..5262377 100644 --- a/qmmp.changes +++ b/qmmp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 7 08:18:07 UTC 2022 - Christophe Giboudeaux + +- Use the Qt6 cmake macros to fix the 15.4 build. + ------------------------------------------------------------------- Sun Jan 23 16:38:24 UTC 2022 - Alexei Sorokin diff --git a/qmmp.spec b/qmmp.spec index ec62eba..3daf0c1 100644 --- a/qmmp.spec +++ b/qmmp.spec @@ -16,6 +16,7 @@ # +%global __provides_exclude_from ^%{_libdir}/qmmp-[0-9\.]*/ %define sover 2 %define mver 2.0 %bcond_with faad @@ -143,7 +144,7 @@ Development files for libqmmp. %autosetup -p1 %build -%cmake \ +%cmake_qt6 \ -DCMAKE_MODULE_LINKER_FLAGS="" \ -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON \ -DLIB_DIR=%{_lib} \ @@ -154,10 +155,11 @@ Development files for libqmmp. -DUSE_HAL=OFF \ -DUSE_OSS=OFF \ -DUSE_OSS4=OFF -%cmake_build +%qt6_build %install -%cmake_install +%qt6_install + # Do not install weirdly-sized icons. rm -r %{buildroot}/%{_datadir}/icons/hicolor/56x56