add sw_64 support

(cherry picked from commit 94915840e8478fce6966df02a5978185753bff70)
This commit is contained in:
Hailiang 2025-05-08 17:08:55 +08:00 committed by openeuler-sync-bot
parent 8c40ff2d71
commit cd01403f71

View File

@ -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 <mahailiang@uniontech.com> - 0-49.20230709git
- add sw_64 support
* Thu Jul 18 2024 yaoxin <yao_xin001@hoperun.com> - 0-48.20230709git
- License compliance rectification