diff --git a/kubekey.spec b/kubekey.spec index 351e5e518b196b259e4c2414e90272d6b8f79af2..e4ee2acf4e7400cc3b7dbe46e3fcce522846a903 100644 --- a/kubekey.spec +++ b/kubekey.spec @@ -3,11 +3,13 @@ Name: kubekey Summary: Install Kubernetes only, both Kubernetes and KubeSphere, and related cloud-native add-ons, it supports all-in-one, multi-node, and HA. Version: v1.2.0 -Release: 2 +Release: 3 License: Apache-2.0 URL: https://gitee.com/openeuler/kubekey Source0: https://github.com/kubesphere/kubekey/releases/download/%{version}-openEuler/kubekey-%{version}.tar.gz +#source1 version sys@v0.0.0-20220908164124-27713097b956 +Source1: sys.tar.gz BuildRequires: git go Requires: socat @@ -21,6 +23,10 @@ Install Kubernetes only, both Kubernetes and KubeSphere, and related cloud-nativ %prep %setup +%ifarch loongarch64 +rm -rf vendor/golang.org/x/sys +tar -xf %{SOURCE1} -C vendor/golang.org/x/ +%endif %build bash -x build.sh -p @@ -34,6 +40,9 @@ cp output/kk $RPM_BUILD_ROOT/usr/local/bin %changelog +* Thu Jun 01 2023 huajingyun v1.2.0-3 +- Add loong64 support + * Tue Sep 14 2021 guofeng v1.2.0-2 - Fixed docker version detection issue https://github.com/kubesphere/kubekey/issues/658 diff --git a/sys.tar.gz b/sys.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..c4b400585a48613cb874c48955947a32e440fe93 Binary files /dev/null and b/sys.tar.gz differ