adapt to the new CMake macros to fix build failure
This commit is contained in:
parent
3ab5789a3f
commit
7ecc2e92fe
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
Name: kf5-%{framework}
|
Name: kf5-%{framework}
|
||||||
Version: 5.113.0
|
Version: 5.113.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: KDE Frameworks 5 Tier 3 module for KNotify configuration
|
Summary: KDE Frameworks 5 Tier 3 module for KNotify configuration
|
||||||
|
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
@ -62,18 +62,14 @@ developing applications that use %{name}.
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir %{_target_platform}
|
%{cmake_kf5} \
|
||||||
pushd %{_target_platform}
|
|
||||||
%{cmake_kf5} .. \
|
|
||||||
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
|
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
|
||||||
|
|
||||||
popd
|
%{cmake_build}
|
||||||
make %{?_smp_mflags} -C %{_target_platform}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
%{cmake_install}
|
||||||
|
|
||||||
%find_lang %{name} --all-name
|
%find_lang %{name} --all-name
|
||||||
|
|
||||||
@ -105,6 +101,9 @@ make test ARGS="--output-on-failure --timeout 10" -C %{_target_platform} ||:
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 18 2024 ChenYanpan <chenyanpan@xfusion.com> - 5.113.0-2
|
||||||
|
- adapt to the new CMake macros to fix build failure
|
||||||
|
|
||||||
* Mon Jan 08 2024 haomimi <haomimi@uniontech.com> - 5.113.0-1
|
* Mon Jan 08 2024 haomimi <haomimi@uniontech.com> - 5.113.0-1
|
||||||
- Update to upstream version 5.113.0
|
- 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 <peijiankang@kylinos.cn> - 5.88.0-1
|
* Mon Jan 24 2022 pei-jiankang <peijiankang@kylinos.cn> - 5.88.0-1
|
||||||
- update to upstream version 5.88.0
|
- update to upstream version 5.88.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user