diff --git a/emacs.spec b/emacs.spec index 41be829f582e0fce3c80bd6435465b01b24ea124..8ab6d5d0e24cc930a4f4122e88ceb6e258e22b92 100644 --- a/emacs.spec +++ b/emacs.spec @@ -4,7 +4,7 @@ Name: emacs Epoch: 1 Version: 27.2 -Release: 5 +Release: 6 Summary: An extensible GNU text editor License: GPLv3+ and CC0-1.0 URL: http://www.gnu.org/software/emacs @@ -153,6 +153,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" %if !%{with bootstrap} @@ -399,6 +403,9 @@ fi %{_mandir}/*/* %changelog +* Fri Nov 18 2022 Wenlong Zhang - 1:27.2-6 +- add loongarch support for emacs + * Sat Jun 11 2022 wangkeorng - 1:27.2-5 - delete macro in changelog