forked from pool/cri-tools
Accepting request 628890 from home:vrothberg:branches:devel:kubic
- Generate and install bash completion for crictl. - Provide /etc/crictl.yaml config. bsc#1104598 OBS-URL: https://build.opensuse.org/request/show/628890 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/cri-tools?expand=0&rev=2
This commit is contained in:
parent
9d31e5682b
commit
c03e9e2eb1
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 13 08:54:30 UTC 2018 - vrothberg@suse.com
|
||||
|
||||
- Generate and install bash completion for crictl.
|
||||
|
||||
- Provide /etc/crictl.yaml config.
|
||||
bsc#1104598
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 2 09:00:47 UTC 2018 - vrothberg@suse.com
|
||||
|
||||
|
@ -25,6 +25,7 @@ License: Apache-2.0
|
||||
Group: System/Management
|
||||
Url: https://github.com/kubernetes-incubator/cri-tools
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
Source1: crictl.yaml
|
||||
BuildRequires: go-go-md2man
|
||||
BuildRequires: golang-packaging
|
||||
BuildRequires: golang(API) >= 1.9
|
||||
@ -62,6 +63,9 @@ do
|
||||
done
|
||||
rename '.md' '.1' docs/*
|
||||
|
||||
# generate bash-completion
|
||||
./bin/crictl completion > crictl-completion
|
||||
|
||||
%install
|
||||
cd $HOME/go/src/%{project}
|
||||
install -D -m 0755 bin/crictl %{buildroot}/%{_bindir}/crictl
|
||||
@ -70,11 +74,13 @@ install -d %{buildroot}/%{_mandir}/man1
|
||||
install -D -m 0644 docs/crictl.1 %{buildroot}/%{_mandir}/man1/crictl.1
|
||||
install -D -m 0644 docs/benchmark.1 %{buildroot}/%{_mandir}/man1/critest-benchmark.1
|
||||
install -D -m 0644 docs/validation.1 %{buildroot}/%{_mandir}/man1/critest-validation.1
|
||||
install -D -m 0644 crictl-completion %{buildroot}/%{_datadir}/bash-completion/completions/crictl
|
||||
|
||||
%files
|
||||
%{_bindir}/crictl
|
||||
%{_bindir}/critest
|
||||
%{_mandir}/man1/*
|
||||
%{_datadir}/bash-completion/completions/crictl
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
|
1
crictl.yaml
Normal file
1
crictl.yaml
Normal file
@ -0,0 +1 @@
|
||||
runtime-endpoint: unix:///var/run/crio/crio.sock
|
Loading…
Reference in New Issue
Block a user