diff --git a/k3s-plugins.spec b/k3s-plugins.spec index 12a3cbe..0683555 100644 --- a/k3s-plugins.spec +++ b/k3s-plugins.spec @@ -2,10 +2,12 @@ Name: k3s-plugins Version: 1.1.1 -Release: 2 +Release: 3 Summary: some standard networking plugins, maintained by the CNI team URL : https://github.com/rancher/plugins Source0: https://github.com/rancher/plugins/archive/refs/tags/v%{version}-%{tagname}.tar.gz +#source1 version sys@v0.0.0-20220908164124-27713097b956 +Source1: sys.tar.gz License: Apache-2.0 BuildRequires: golang >= 1.8.3 libseccomp-devel btrfs-progs-devel procps-ng @@ -64,6 +66,10 @@ cp %{SOURCE0} .gopath/src/github.com/containernetworking pushd .gopath/src/github.com/containernetworking/ tar -xvf v1.1.1-k3s1.tar.gz mv plugins-1.1.1-k3s1 plugins +%ifarch loongarch64 +rm -rf plugins/vendor/golang.org/x/sys +tar -xf %{SOURCE1} -C plugins/vendor/golang.org/x/ +%endif rm -rf v1.1.1-k3s1.tar.gz popd @@ -81,6 +87,9 @@ install -p -m 755 ./.gopath/cni $RPM_BUILD_ROOT/%{_datadir}/k3s/ %{_datadir}/k3s/ %changelog +* Tue Jul 11 2023 huajingyun - 1.1.1-3 +- Add loong64 support + * Thu Feb 9 2023 liyanan - 1.1.1-2 - Add PIE, BIND_NOW, RELRO secure compilation options diff --git a/sys.tar.gz b/sys.tar.gz new file mode 100644 index 0000000..40a278e Binary files /dev/null and b/sys.tar.gz differ