disable java for loongarch64

(cherry picked from commit af464fc2d7b259bbc4ad75b52f593a61d7043a54)
This commit is contained in:
Wenlong Zhang 2024-04-15 06:58:15 +00:00 committed by openeuler-sync-bot
parent 0fb3734d82
commit ea9e56c8fe

View File

@ -2,12 +2,16 @@
# Build -python subpackage # Build -python subpackage
%bcond_without python %bcond_without python
# Build -java subpackage # Build -java subpackage
%ifarch loongarch64
%bcond_with java
%else
%bcond_without java %bcond_without java
%endif
Summary: Protocol Buffers - Google's data interchange format Summary: Protocol Buffers - Google's data interchange format
Name: protobuf Name: protobuf
Version: 25.1 Version: 25.1
Release: 3 Release: 4
License: BSD License: BSD
URL: https://github.com/protocolbuffers/protobuf URL: https://github.com/protocolbuffers/protobuf
Source: https://github.com/protocolbuffers/protobuf/releases/download/v%{version}%{?rcver}/%{name}-all-%{version}%{?rcver}.tar.gz 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 %endif
%changelog %changelog
* Mon Apr 15 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 25.1-4
- disable java for loongarch64
* Tue Apr 09 2024 zhongtao <zhongtao17@huawei.com> - 25.1-3 * Tue Apr 09 2024 zhongtao <zhongtao17@huawei.com> - 25.1-3
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA