!32 添加sw架构

From: @wuzx065891 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
This commit is contained in:
openeuler-ci-bot 2022-12-08 11:16:20 +00:00 committed by Gitee
commit d3651b4372
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 10094 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -31,7 +31,7 @@ system.}
%global gosupfiles integration/fixtures/* etcdserver/api/v2http/testdata/*
Name: etcd
Release: 4
Release: 5
Summary: Distributed reliable key-value store for the most critical data of a distributed system
# Upstream license specification: Apache-2.0
@ -46,6 +46,7 @@ Source10: genmanpages.sh
# update grpc-go version to v1.32.0
Patch1: 0001-Convert-int-to-string-using-strconv.Itoa.patch
Patch2: 0002-Etcd-on-unsupported-platform-without-ETCD_UNSUPPORTED_ARCH=arm64-set.patch
Patch3: 0003-etcd-Add-sw64-architecture.patch
BuildRequires: golang
BuildRequires: python3-devel
@ -63,6 +64,9 @@ Requires(pre): shadow-utils
%forgesetup
%patch1 -p1
%patch2 -p1
%ifarch sw_64
%patch3 -p1
%endif
# For compatibility
cp -aR etcdserver/api/snap snap
cp -aR etcdserver/api/membership etcdserver/membership
@ -148,6 +152,9 @@ getent passwd %{name} >/dev/null || useradd -r -g %{name} -d %{_sharedstatedir}/
%endif
%changelog
* Wed Oct 19 2022 wuzx<wuzx1226@qq.com> - 3.4.14-5
- add sw64 patch
* Wed Sep 2021 jikui <jikui2@huawei.com> - 3.4.14-4
- modify build flags for secure compilation options