diff --git a/0002-Etcd-on-unsupported-platform-without-ETCD_UNSUPPORTED_ARCH=arm64-set.patch b/0002-Etcd-on-unsupported-platform-without-ETCD_UNSUPPORTED_ARCH=arm64-set.patch index fbbe95875be45fadc6f06c410e6a506d23532e15..16a8794cde39096a905086dc57d9e9f7b27b019c 100644 --- a/0002-Etcd-on-unsupported-platform-without-ETCD_UNSUPPORTED_ARCH=arm64-set.patch +++ b/0002-Etcd-on-unsupported-platform-without-ETCD_UNSUPPORTED_ARCH=arm64-set.patch @@ -19,7 +19,7 @@ index 73328a7..1907f99 100644 func checkSupportArch() { // TODO qualify arm64 - if runtime.GOARCH == "amd64" || runtime.GOARCH == "ppc64le" { -+ if runtime.GOARCH == "amd64" || runtime.GOARCH == "ppc64le" || runtime.GOARCH == "arm64" { ++ if runtime.GOARCH == "amd64" || runtime.GOARCH == "ppc64le" || runtime.GOARCH == "arm64" || runtime.GOARCH == "riscv64" { return } // unsupported arch only configured via environment variable diff --git a/etcd.spec b/etcd.spec index c236d6d8100b6a3907f9b4a7d5d5676b5974ca4b..6df100c63a784a4ce022d3902ed214df82249bfc 100644 --- a/etcd.spec +++ b/etcd.spec @@ -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 @@ -148,6 +148,9 @@ getent passwd %{name} >/dev/null || useradd -r -g %{name} -d %{_sharedstatedir}/ %endif %changelog +* Tue Nov 08 2022 laokz - 3.4.14-5 +- add riscv64 support in patch 0002 + * Wed Sep 2021 jikui - 3.4.14-4 - modify build flags for secure compilation options