diff --git a/erlang.spec b/erlang.spec index 0b70d8de74ae6f3812a3c8aa1e1cf3412f7d136e..8e67d964088fe56e6c4effc370a916d43e59da24 100644 --- a/erlang.spec +++ b/erlang.spec @@ -1,7 +1,7 @@ %global need_bootstrap_set 0 %{!?need_bootstrap: %global need_bootstrap %{need_bootstrap_set}} %bcond_with doc -%ifarch %{arm} %{ix86} x86_64 ppc %{power64} +%ifarch %{arm} %{ix86} x86_64 ppc %{power64} loongarch64 %global __with_hipe 1 %endif %global __with_emacs 1 @@ -11,7 +11,7 @@ %global __with_wxwidgets 1 Name: erlang Version: 23.3.4.9 -Release: 3 +Release: 4 Summary: General-purpose programming language and runtime environment License: ASL 2.0 URL: https://www.erlang.org @@ -1474,7 +1474,9 @@ useradd -r -g epmd -d /dev/null -s /sbin/nologin \ %dir %{_libdir}/erlang/lib/wx-*/ %{_libdir}/erlang/lib/wx-*/ebin %{_libdir}/erlang/lib/wx-*/include +%ifnarch loongarch64 %{_libdir}/erlang/lib/wx-*/priv +%endif %{_libdir}/erlang/lib/wx-*/src %if %{with doc} %{_mandir}/man3/gl.* @@ -1725,6 +1727,9 @@ useradd -r -g epmd -d /dev/null -s /sbin/nologin \ %endif %changelog +* Mon May 8 2023 Wenlong Zhang - 23.3.4.9-4 +- fix build error for loongarch64 + * Fri Feb 10 2023 yaoxin - 23.3.4.9-3 - Fix build failed due to emacs update to 28.2