diff --git a/erlang.spec b/erlang.spec index 144df5396b45e991da5e6912694e0aa4bcf6eaa6..02f37f9c4bd774554b567d430aa4ffebac5e567b 100644 --- a/erlang.spec +++ b/erlang.spec @@ -2,7 +2,7 @@ %{!?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 @@ -15,7 +15,7 @@ Name: erlang Version: 23.3.4.9 -Release: 1 +Release: 2 Summary: General-purpose programming language and runtime environment License: ASL 2.0 @@ -1545,7 +1545,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.* @@ -1797,6 +1799,9 @@ useradd -r -g epmd -d /dev/null -s /sbin/nologin \ %changelog +* Mon May 8 2023 Wenlong Zhang - 23.3.4.9-2 +- fix build error for loongarch64 + * Tue Jan 18 2022 Ge Wang - 23.3.4.9-1 - Update to version 23.4.4.9