adapt to the new CMake macros to fix build failure

This commit is contained in:
ChenYanpan 2024-11-18 17:58:30 +08:00
parent 030f84d71d
commit 54ac60c25a
No known key found for this signature in database
GPG Key ID: 743990DD9697055F

View File

@ -4,7 +4,7 @@
Name: kf5-%{framework} Name: kf5-%{framework}
Summary: A Qt wrapper for Bluez Summary: A Qt wrapper for Bluez
Version: 5.113.0 Version: 5.113.0
Release: 1 Release: 2
License: LGPLv2+ License: LGPLv2+
URL: https://invent.kde.org/frameworks/%{framework} URL: https://invent.kde.org/frameworks/%{framework}
@ -45,18 +45,14 @@ Development files for %{name}.
%build %build
mkdir %{_target_platform} %{cmake_kf5} \
pushd %{_target_platform}
%{cmake_kf5} .. \
-DUDEV_RULES_INSTALL_DIR:PATH="%{_udevrulesdir}" -DUDEV_RULES_INSTALL_DIR:PATH="%{_udevrulesdir}"
popd
make %{?_smp_mflags} -C %{_target_platform} %{cmake_build}
%install %install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %{cmake_install}
%ldconfig_scriptlets %ldconfig_scriptlets
@ -77,6 +73,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
* Wed Jan 03 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.113.0-1 * Wed Jan 03 2024 jiangxinyu <jiangxinyu@kylinos.cn> - 5.113.0-1
- Update package to version 5.113.0 - Update package to version 5.113.0