From d0b5bbdddc4a4dd6003b06887bedd63d95cb3c5e Mon Sep 17 00:00:00 2001 From: Guost123 Date: Sun, 27 Apr 2025 15:39:55 +0800 Subject: [PATCH 1/2] adapt for riscv64 --- qt5-qttools.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/qt5-qttools.spec b/qt5-qttools.spec index b279f0d..fb2df11 100644 --- a/qt5-qttools.spec +++ b/qt5-qttools.spec @@ -1,8 +1,12 @@ -%define anolis_release 3 +%define anolis_release 4 %global qt_module qttools %global __brp_remove_la_files %nil +%ifarch riscv64 +%global __brp_check_rpaths %nil +%endif + Summary: Qt5 - QtTool components Name: qt5-qttools Version: 5.15.11 @@ -355,6 +359,9 @@ popd %{_qt5_libdir}/pkgconfig/Qt5UiTools.pc %changelog +* Sun Apr 27 2025 Shangtong Guo - 5.15.11-4 +- add support for riscv64 build + * Thu May 16 2024 yangxianzhao - 5.15.11-3 - rebuild for clang -- Gitee From 0d41504b8887b13c3f5df9bb3dc11daea87f2291 Mon Sep 17 00:00:00 2001 From: Guost123 Date: Mon, 28 Apr 2025 16:09:39 +0800 Subject: [PATCH 2/2] adapt for riscv64 --- qt5-qttools.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/qt5-qttools.spec b/qt5-qttools.spec index fb2df11..fa54bc4 100644 --- a/qt5-qttools.spec +++ b/qt5-qttools.spec @@ -3,10 +3,6 @@ %global __brp_remove_la_files %nil -%ifarch riscv64 -%global __brp_check_rpaths %nil -%endif - Summary: Qt5 - QtTool components Name: qt5-qttools Version: 5.15.11 @@ -162,6 +158,7 @@ Requires: %{name}-libs-designer = %{EVR} %build %{qmake_qt5} \ + CONFIG+=disable_external_rpath \ %{?no_examples} %make_build -- Gitee