!9 Fix build error

From: @wu-leilei 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-07-24 01:32:01 +00:00 committed by Gitee
commit 342d33dbaa
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -4,7 +4,7 @@
%{!?need_bootstrap: %global need_bootstrap %{need_bootstrap_set}}
Name: erlang-%{realname}
Version: 2.6.4
Release: 3
Release: 4
BuildArch: noarch
Summary: Erlang Build Tools
License: MIT
@ -26,7 +26,7 @@ Patch13: rebar-0013-Remove-compat-random-modules.patch
Patch14: 0014-remove-lerl_interface-build-flag.patch
Patch15: 0001-Resolve-erlang-hamcrest-compilation-errors.patch
%if 0%{?need_bootstrap} < 1
BuildRequires: erlang-rebar erlang-getopt
BuildRequires: erlang-rebar erlang-getopt erlang-eunit erlang-diameter
%else
BuildRequires: erlang-asn1 erlang-common_test erlang-compiler erlang-crypto
BuildRequires: erlang-dialyzer erlang-diameter erlang-edoc erlang-eflame
@ -96,6 +96,9 @@ sed -i -e "s,-noshell -noinput,-noshell -noinput -pa .,g" ./rebar
%{erlang_appdir}/
%changelog
* Sun Jul 23 2023 wulei <wu_lei@hoperun.com> - 2.6.4-4
- Fix build error
* Mon Jun 12 2023 doupengda <doupengda@loongson.cn> - 2.6.4-3
- Resolve erlang-hamcrest compilation errors