adapt to the new CMake macros to fix build failure

This commit is contained in:
ChenYanpan 2024-11-18 17:58:32 +08:00
parent 8a5c4f1367
commit 34f6576849
No known key found for this signature in database
GPG Key ID: 743990DD9697055F

View File

@ -3,7 +3,7 @@
Name: kf5-%{framework} Name: kf5-%{framework}
Version: 5.113.0 Version: 5.113.0
Release: 1 Release: 2
Summary: KDE Frameworks 5 Tier 2 integration module to perform actions as privileged user Summary: KDE Frameworks 5 Tier 2 integration module to perform actions as privileged user
License: LGPLv2+ License: LGPLv2+
@ -37,16 +37,14 @@ developing applications that use %{name}.
%autosetup -n %{framework}-%{version} -p1 %autosetup -n %{framework}-%{version} -p1
%build %build
mkdir %{_target_platform} %{cmake_kf5} \
pushd %{_target_platform}
%{cmake_kf5} .. \
-DKDE_INSTALL_LIBEXECDIR=%{_kf5_libexecdir} -DKDE_INSTALL_LIBEXECDIR=%{_kf5_libexecdir}
popd
%make_build -C %{_target_platform} %{cmake_build}
%install %install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %{cmake_install}
%find_lang_kf5 kauth5_qt %find_lang_kf5 kauth5_qt
@ -74,6 +72,9 @@ make install/fast DESTDIR=%{buildroot} -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
* Thu Jan 04 2024 wangqia <wangqia@uniontech.com> - 5.113.0-1 * Thu Jan 04 2024 wangqia <wangqia@uniontech.com> - 5.113.0-1
- Update to upstream version 5.113.0 - Update to upstream version 5.113.0