ceph-csi/vendor/k8s.io/kubernetes/build/rpms/cri-tools.spec

22 lines
490 B
RPMSpec
Raw Normal View History

2018-07-18 14:47:22 +00:00
Name: cri-tools
Version: OVERRIDE_THIS
Release: 00
License: ASL 2.0
Summary: Container Runtime Interface tools
URL: https://kubernetes.io
%description
Binaries to interface with the container runtime.
%prep
2018-11-26 18:23:56 +00:00
# This has to be hard coded because bazel does a path substitution before rpm's %{version} is substituted.
tar -xzf {crictl-v1.12.0-linux-amd64.tar.gz}
2018-07-18 14:47:22 +00:00
%install
install -m 755 -d %{buildroot}%{_bindir}
install -p -m 755 -t %{buildroot}%{_bindir} crictl
%files
%{_bindir}/crictl