From 7562d514d247dcb00a529060ae30c96b27fe2ddd Mon Sep 17 00:00:00 2001 From: Hailiang Date: Thu, 8 May 2025 17:08:55 +0800 Subject: [PATCH] add sw_64 support (cherry picked from commit 94915840e8478fce6966df02a5978185753bff70) --- gnulib.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnulib.spec b/gnulib.spec index e74a4cd..b8b092b 100644 --- a/gnulib.spec +++ b/gnulib.spec @@ -3,7 +3,7 @@ %global gitdate 20230709 Name: gnulib Version: 0 -Release: 48.%{gitdate}git +Release: 49.%{gitdate}git Summary: The GNU Portability Library License: Public Domain and BSD-3-Clause and GPL-2.0-or-later and GPL-3.0-only and GPL-3.0-or-later and LGPL-2.0-only and LGPL-2.1-or-later and LGPL-3.0-or-later URL: https://www.gnu.org/software/gnulib @@ -45,6 +45,10 @@ This package contains help docs for gnulib. And Provides ChangeLog files. %prep %autosetup -n gnulib-%{githead} -p1 -Sgit +%ifarch sw_64 +/usr/bin/cp -fv /usr/lib/rpm/%{_vendor}/config.guess build-aux/ +/usr/bin/cp -fv /usr/lib/rpm/%{_vendor}/config.sub build-aux/ +%endif toRemove="lib-symbol-visibility havelib .*-obsolete localcharset gettext-h gettext alloca-opt alloca " @@ -126,6 +130,9 @@ fi %license doc/COPYINGv2 %changelog +* Thu May 08 2025 mahailiang - 0-49.20230709git +- add sw_64 support + * Thu Jul 18 2024 yaoxin - 0-48.20230709git - License compliance rectification -- Gitee