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