From 5ceb8d759dd36a022fed99d933e7f2a309e8b6ea Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Fri, 18 Nov 2022 03:23:18 +0000 Subject: [PATCH] add loongarch support for emacs Signed-off-by: Wenlong Zhang --- emacs.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/emacs.spec b/emacs.spec index af149cc..829f514 100644 --- a/emacs.spec +++ b/emacs.spec @@ -8,7 +8,7 @@ Name: emacs Epoch: 1 Version: 27.2 -Release: 6 +Release: 7 Summary: An extensible GNU text editor License: GPLv3+ and CC0-1.0 URL: http://www.gnu.org/software/emacs @@ -157,6 +157,10 @@ ln -s ../../%{name}/%{version}/etc/COPYING doc ln -s ../../%{name}/%{version}/etc/NEWS doc %build +%ifarch loongarch64 +%_update_config_guess +%_update_config_sub +%endif export CFLAGS="-DMAIL_USE_LOCKF $RPM_OPT_FLAGS -fPIE" # Build GTK+ binary @@ -403,6 +407,9 @@ fi %{_mandir}/*/* %changelog +* Fri Nov 18 2022 Wenlong Zhang - 1:27.2-7 +- add loongarch support for emacs + * Fri Aug 26 2022 zhujunhao - 1:27.2-6 - close bootstrap with product_family