diff --git a/protobuf.spec b/protobuf.spec index 824b74c49dd6a6106e88d06b74aa3c26074cc021..306cbb1223b0d3a47a70e98942bbf124442be9c8 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