From a6f45f3e6a66dfe74e16d8e70e32e83d737ee6f3 Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Wed, 20 Nov 2024 17:20:57 +0800 Subject: [PATCH] adopt to new cmake macro --- qt6-qtconnectivity.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/qt6-qtconnectivity.spec b/qt6-qtconnectivity.spec index ebfb64f..bb5e1f8 100644 --- a/qt6-qtconnectivity.spec +++ b/qt6-qtconnectivity.spec @@ -6,7 +6,7 @@ Summary: Qt6 - Connectivity components Name: qt6-%{qt_module} Version: 6.5.2 -Release: 1 +Release: 2 # See LICENSE.GPL3, respectively, for exception details License: LGPL-3.0-only OR GPL-3.0-only WITH Qt-GPL-exception-1.0 @@ -55,11 +55,10 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %build %cmake_qt6 -DQT_BUILD_EXAMPLES:BOOL=%{?examples:ON}%{!?examples:OFF} - -cmake --build . %{?_smp_mflags} --verbose +%cmake_build %install -DESTDIR="%{buildroot}" cmake --install . +%cmake_install ## .prl/.la file love # nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs @@ -73,9 +72,6 @@ for prl_file in libQt6*.prl ; do done popd - -%ldconfig_scriptlets - %files %license LICENSES/GPL* LICENSES/LGPL* %{_qt6_libexecdir}/sdpscanner @@ -108,6 +104,9 @@ popd %endif %changelog +* Wed Nov 20 2024 Funda Wang - 6.5.2-2 +- adopt to new cmake macro + * Thu Nov 30 2023 peijiankang - 6.5.2-1 - update version to 6.5.2 -- Gitee