From 3af2325d9d1d54c9ce266ac57bae5f5fbcbf6c9a Mon Sep 17 00:00:00 2001 From: wk333 <13474090681@163.com> Date: Tue, 19 Sep 2023 19:36:38 +0800 Subject: [PATCH] Disable test for erlang25 --- erlang-protobuffs.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/erlang-protobuffs.spec b/erlang-protobuffs.spec index fc70d0c..ffa2fa8 100644 --- a/erlang-protobuffs.spec +++ b/erlang-protobuffs.spec @@ -1,8 +1,9 @@ %global realname protobuffs %global upstream basho +%global enable_test 0 Name: erlang-%{realname} Version: 0.9.2 -Release: 2 +Release: 3 BuildArch: noarch Summary: A set of Protocol Buffers tools and modules for Erlang applications License: ASL 2.0 @@ -25,7 +26,9 @@ A set of Protocol Buffers tools and modules for Erlang applications. install -D -p -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/protoc-erl %check +%if %{?enable_test} %{erlang_test} +%endif %files %license LICENSE @@ -34,6 +37,9 @@ install -D -p -m 0755 %{SOURCE1} %{buildroot}%{_bindir}/protoc-erl %{erlang_appdir}/ %changelog +* Tue Sep 19 2023 wangkai <13474090681@163.com> - 0.9.2-3 +- Disable test for erlang25 + * Sun Jul 23 2023 wulei - 0.9.2-2 - Fix build error