diff --git a/kf5-knotifyconfig.spec b/kf5-knotifyconfig.spec index 11a673e..d452a79 100644 --- a/kf5-knotifyconfig.spec +++ b/kf5-knotifyconfig.spec @@ -4,7 +4,7 @@ Name: kf5-%{framework} Version: 5.113.0 -Release: 1 +Release: 2 Summary: KDE Frameworks 5 Tier 3 module for KNotify configuration License: LGPLv2+ @@ -37,7 +37,7 @@ BuildRequires: phonon-qt5-devel BuildRequires: qt5-qtbase-devel %if !0%{?bootstrap} -BuildRequires: qt5-qtspeech-devel +BuildRequires: qt5-qtspeech-devel %endif %if 0%{?tests} @@ -62,18 +62,14 @@ developing applications that use %{name}. %build -mkdir %{_target_platform} -pushd %{_target_platform} -%{cmake_kf5} .. \ +%{cmake_kf5} \ -DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF} -popd -make %{?_smp_mflags} -C %{_target_platform} - +%{cmake_build} %install -make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%{cmake_install} %find_lang %{name} --all-name @@ -105,6 +101,9 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||: %changelog +* Mon Nov 18 2024 ChenYanpan - 5.113.0-2 +- adapt to the new CMake macros to fix build failure + * Mon Jan 08 2024 haomimi - 5.113.0-1 - Update to upstream version 5.113.0 @@ -134,4 +133,3 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||: * Mon Jan 24 2022 pei-jiankang - 5.88.0-1 - update to upstream version 5.88.0 -