From eabebc6d28d4f1c18357c2f6719dab4db577f826 Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Tue, 13 Dec 2022 17:07:32 +0800 Subject: [PATCH] update autosetup-config.guess and autosetup-config.sub to support loongarch --- jimtcl.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/jimtcl.spec b/jimtcl.spec index 2c17c36..020a63d 100644 --- a/jimtcl.spec +++ b/jimtcl.spec @@ -1,6 +1,6 @@ Name: jimtcl Version: 0.78 -Release: 4 +Release: 5 Summary: A small embeddable Tcl interpreter License: BSD-2-Clause-Views URL: http://jim.tcl.tk @@ -27,6 +27,13 @@ This package contains libraries and header files for developing applications tha %build export CC=gcc LD=ld AR=ar RANLIB=ranlib STRIP=strip +%ifarch loongarch64 +rm -rf autosetup/autosetup-config.sub +rm -rf autosetup/autosetup-config.guess +/usr/bin/cp -fv /usr/lib/rpm/openEuler/config.guess autosetup/autosetup-config.guess +/usr/bin/cp -fv /usr/lib/rpm/openEuler/config.sub autosetup/autosetup-config.sub +%endif + %configure --full --shared --disable-option-checking %make_build @@ -57,6 +64,9 @@ cd $RPM_BUILD_ROOT%{_libdir}; ln -s libjim.so.* libjim.so %exclude %{_libdir}/jim/{tcltest.tcl,README.extensions} %changelog +* Tue Dec 13 2022 Wenlong Zhang - 0.78-5 +- update autosetup-config.guess and autosetup-config.sub to support loongarch + * Wed May 11 2022 wulei - 0.78-4 - License compliance rectification -- Gitee