Add sw64 architecture
Signed-off-by: wzx <wuzx1226@qq.com>
This commit is contained in:
parent
0002ed7037
commit
b4d8f1381b
10086
0003-etcd-Add-sw64-architecture.patch
Normal file
10086
0003-etcd-Add-sw64-architecture.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -31,7 +31,7 @@ system.}
|
|||||||
%global gosupfiles integration/fixtures/* etcdserver/api/v2http/testdata/*
|
%global gosupfiles integration/fixtures/* etcdserver/api/v2http/testdata/*
|
||||||
|
|
||||||
Name: etcd
|
Name: etcd
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: Distributed reliable key-value store for the most critical data of a distributed system
|
Summary: Distributed reliable key-value store for the most critical data of a distributed system
|
||||||
|
|
||||||
# Upstream license specification: Apache-2.0
|
# Upstream license specification: Apache-2.0
|
||||||
@ -46,6 +46,7 @@ Source10: genmanpages.sh
|
|||||||
# update grpc-go version to v1.32.0
|
# update grpc-go version to v1.32.0
|
||||||
Patch1: 0001-Convert-int-to-string-using-strconv.Itoa.patch
|
Patch1: 0001-Convert-int-to-string-using-strconv.Itoa.patch
|
||||||
Patch2: 0002-Etcd-on-unsupported-platform-without-ETCD_UNSUPPORTED_ARCH=arm64-set.patch
|
Patch2: 0002-Etcd-on-unsupported-platform-without-ETCD_UNSUPPORTED_ARCH=arm64-set.patch
|
||||||
|
Patch3: 0003-etcd-Add-sw64-architecture.patch
|
||||||
|
|
||||||
BuildRequires: golang
|
BuildRequires: golang
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
@ -63,6 +64,9 @@ Requires(pre): shadow-utils
|
|||||||
%forgesetup
|
%forgesetup
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%ifarch sw_64
|
||||||
|
%patch3 -p1
|
||||||
|
%endif
|
||||||
# For compatibility
|
# For compatibility
|
||||||
cp -aR etcdserver/api/snap snap
|
cp -aR etcdserver/api/snap snap
|
||||||
cp -aR etcdserver/api/membership etcdserver/membership
|
cp -aR etcdserver/api/membership etcdserver/membership
|
||||||
@ -148,6 +152,9 @@ getent passwd %{name} >/dev/null || useradd -r -g %{name} -d %{_sharedstatedir}/
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Sep 2021 jikui <jikui2@huawei.com> - 3.4.14-4
|
||||||
- modify build flags for secure compilation options
|
- modify build flags for secure compilation options
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user