From 71266f42a8c7351ad5697634b2a3c6f6856bf29a Mon Sep 17 00:00:00 2001 From: Funda Wang Date: Wed, 20 Nov 2024 17:00:46 +0800 Subject: [PATCH] adopt to new cmake macro --- qt6-qtquick3d.spec | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/qt6-qtquick3d.spec b/qt6-qtquick3d.spec index 6cd25fa..0266780 100644 --- a/qt6-qtquick3d.spec +++ b/qt6-qtquick3d.spec @@ -8,7 +8,7 @@ Summary: Qt6 - Quick3D Libraries and utilities Name: qt6-%{qt_module} Version: 6.5.2 -Release: 1 +Release: 2 License: GPL-3.0-only WITH Qt-GPL-exception-1.0 Url: http://www.qt.io @@ -55,10 +55,10 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %define _lto_cflags %{nil} %cmake_qt6 -DQT_BUILD_EXAMPLES:BOOL=%{?examples:ON}%{!?examples:OFF} -cmake --build . %{?_smp_mflags} --verbose +%cmake_build %install -DESTDIR="%{buildroot}" cmake --install . +%cmake_install # hardlink files to %{_bindir}, add -qt6 postfix to not conflict mkdir %{buildroot}%{_bindir} @@ -88,8 +88,6 @@ done popd -%ldconfig_scriptlets - %files %license LICENSES/GPL* %{_qt6_libdir}/libQt6Quick3D.so.6* @@ -207,6 +205,9 @@ popd %endif %changelog +* Wed Nov 20 2024 Funda Wang - 6.5.2-2 +- adopt to new cmake macro + * Thu Nov 30 2023 douyan - 6.5.2-1 - update to upstream version 6.5.2 @@ -217,4 +218,4 @@ popd - update package * Wed Nov 30 2022 Jingwiw - 6.4.0-1 -- init package \ No newline at end of file +- init package -- Gitee