add src code to package, which is dependented by k3s
This commit is contained in:
parent
ea5910431b
commit
bd1d7ba729
@ -3,7 +3,7 @@
|
|||||||
%global version_suffix k3s1
|
%global version_suffix k3s1
|
||||||
Version: 1.6.6
|
Version: 1.6.6
|
||||||
Name: k3s-containerd
|
Name: k3s-containerd
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: An industry-standard container runtime
|
Summary: An industry-standard container runtime
|
||||||
License: Apache 2.0
|
License: Apache 2.0
|
||||||
URL: https://github.com/k3s-io/containerd
|
URL: https://github.com/k3s-io/containerd
|
||||||
@ -58,10 +58,18 @@ CGO_ENABLED=1 go build -tags "$TAGS" -ldflags "$VERSIONFLAGS $LDFLAGS" -o k3s-co
|
|||||||
%install
|
%install
|
||||||
install -d -p %{buildroot}%{_libexecdir}/containerd/
|
install -d -p %{buildroot}%{_libexecdir}/containerd/
|
||||||
cp k3s-containerd/bin/* %{buildroot}%{_libexecdir}/containerd/
|
cp k3s-containerd/bin/* %{buildroot}%{_libexecdir}/containerd/
|
||||||
|
mkdir -p %{buildroot}%{_libexecdir}/containerd/containerd-%{version}
|
||||||
|
cp -rf %{_builddir}/containerd-%{version}-%{version_suffix}/. %{buildroot}%{_libexecdir}/containerd/containerd-%{version}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_libexecdir}/containerd/*
|
%{_libexecdir}/containerd/containerd
|
||||||
|
%{_libexecdir}/containerd/containerd-shim-runc-v2
|
||||||
|
%{_libexecdir}/containerd/containerd-%{version}/.
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 02 2022 Ge Wang <wangge20@h-partners.com> - 1.6.6-k3s1-2
|
||||||
|
- Add src code to package, which is dependended by k3s
|
||||||
|
|
||||||
* Fri Jul 22 2022 Ge Wang <wangge20@h-partners.com> - 1.6.6-k3s1-1
|
* Fri Jul 22 2022 Ge Wang <wangge20@h-partners.com> - 1.6.6-k3s1-1
|
||||||
- Init package
|
- Init package
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user