From 54ac60c25a0dba5be04393408ec836ac72c271c8 Mon Sep 17 00:00:00 2001 From: ChenYanpan Date: Mon, 18 Nov 2024 17:58:30 +0800 Subject: [PATCH] adapt to the new CMake macros to fix build failure --- kf5-bluez-qt.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/kf5-bluez-qt.spec b/kf5-bluez-qt.spec index 0029f89..bc140da 100644 --- a/kf5-bluez-qt.spec +++ b/kf5-bluez-qt.spec @@ -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 - 5.113.0-2 +- adapt to the new CMake macros to fix build failure + * Wed Jan 03 2024 jiangxinyu - 5.113.0-1 - Update package to version 5.113.0