From 7dbaba66532300a055320c2c378665ec769889fc Mon Sep 17 00:00:00 2001 From: Wenlong Zhang Date: Mon, 15 Apr 2024 06:58:15 +0000 Subject: [PATCH] disable java for loongarch64 (cherry picked from commit af464fc2d7b259bbc4ad75b52f593a61d7043a54) --- protobuf.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/protobuf.spec b/protobuf.spec index 824b74c..306cbb1 100644 --- a/protobuf.spec +++ b/protobuf.spec @@ -2,12 +2,16 @@ # Build -python subpackage %bcond_without python # Build -java subpackage +%ifarch loongarch64 +%bcond_with java +%else %bcond_without java +%endif Summary: Protocol Buffers - Google's data interchange format Name: protobuf Version: 25.1 -Release: 3 +Release: 4 License: BSD URL: https://github.com/protocolbuffers/protobuf Source: https://github.com/protocolbuffers/protobuf/releases/download/v%{version}%{?rcver}/%{name}-all-%{version}%{?rcver}.tar.gz @@ -397,6 +401,9 @@ install -p -m 0644 %{SOURCE1} %{buildroot}%{_emacs_sitestartdir} %endif %changelog +* Mon Apr 15 2024 Wenlong Zhang - 25.1-4 +- disable java for loongarch64 + * Tue Apr 09 2024 zhongtao - 25.1-3 - Type:bugfix - ID:NA -- Gitee