From 10c6a0c8c2fd12411417ca322bb84b3579041d47 Mon Sep 17 00:00:00 2001 From: Liwei Ge Date: Fri, 27 Aug 2021 13:43:56 +0800 Subject: [PATCH] build: support loongarch64 Signed-off-by: Liwei Ge --- ncurses.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ncurses.spec b/ncurses.spec index ea8c22f..6ff4754 100644 --- a/ncurses.spec +++ b/ncurses.spec @@ -1,8 +1,9 @@ +%define anolis_release .0.1 %global revision 20180224 Summary: Ncurses support utilities Name: ncurses Version: 6.1 -Release: 9.%{revision}%{?dist} +Release: 9.%{revision}%{anolis_release}%{?dist} License: MIT Group: System Environment/Base URL: https://invisible-island.net/ncurses/ncurses.html @@ -140,6 +141,10 @@ for f in ANNOUNCE; do done %build +%ifarch loongarch64 +%_update_config_guess +%_update_config_sub +%endif common_options="\ --enable-colorfgbg \ --enable-hard-tabs \ @@ -299,6 +304,9 @@ bzip2 NEWS %{_libdir}/lib*.a %changelog +* Wed Aug 11 2021 zhangwenlong - 6.1-9.20180224.0.1 +- Support loongarch64 + * Tue May 18 2021 Miroslav Lichvar 6.1-9.20180224 - fix tput to accept -x option (#1916340) -- Gitee