diff --git a/emacs.spec b/emacs.spec index fcc02afa31b5d8a83cdabe31c52b4ffce1b5a8d6..6b8161098a027f17651b34d31e6bb7484e21f6e6 100644 --- a/emacs.spec +++ b/emacs.spec @@ -4,7 +4,7 @@ Name: emacs Epoch: 1 Version: 27.2 -Release: 4 +Release: 5 Summary: An extensible GNU text editor License: GPLv3+ and CC0-1.0 URL: http://www.gnu.org/software/emacs @@ -125,6 +125,11 @@ Emacs filesystem layout autoconf +%ifarch loongarch64 +\cp /usr/lib/rpm/openEuler/config.sub ./build-aux +\cp /usr/lib/rpm/openEuler/config.guess ./build-aux +%endif + egrep -v "tetris.elc|pong.elc" lisp/Makefile.in > lisp/Makefile.in.new && mv lisp/Makefile.in.new lisp/Makefile.in rm -f lisp/play/tetris.el* lisp/play/pong.el* @@ -399,6 +404,9 @@ fi %{_mandir}/*/* %changelog +* Mon Apr 25 2022 liyanan - 1:27.2-5 +- Add Loongarch architecture support + * Mon Jan 17 2022 liuyumeng - 1:27.2-4 - round self-developed patch