diff options
author | Jan Chaloupka <jchaloup@redhat.com> | 2016-05-26 15:35:18 +0200 |
---|---|---|
committer | Jan Chaloupka <jchaloup@redhat.com> | 2016-05-26 17:01:04 +0200 |
commit | 9cbb4044492326e60db1130936c5363a48675687 (patch) | |
tree | 3cbd498101ac6f12a9c534cdeeb3df9a644432f6 /runc.spec | |
parent | 0fbeef9bbde08eb026e6c8e2c4a76f2c28c0eaa7 (diff) | |
download | runc-9cbb4044492326e60db1130936c5363a48675687.tar.gz runc-9cbb4044492326e60db1130936c5363a48675687.tar.xz runc-9cbb4044492326e60db1130936c5363a48675687.zip |
Add bash completion
- resolves: #1340119
Diffstat (limited to 'runc.spec')
-rw-r--r-- | runc.spec | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -25,7 +25,7 @@ # https://github.com/opencontainers/runc %global provider_prefix %{provider}.%{provider_tld}/%{project}/%{repo} %global import_path %{provider_prefix} -%global commit baf6536d6259209c3edfa2b22237af82942d3dfa +%global commit 57b997243d52f70a78cfea5e31ccb69f37450b5a %global shortcommit %(c=%{commit}; echo ${c:0:7}) Name: %{repo} @@ -35,7 +35,7 @@ Epoch: 1 Epoch: 0 %endif Version: 0.1.1 -Release: 2.git%{shortcommit}%{?dist} +Release: 3.git%{shortcommit}%{?dist} Summary: CLI for running Open Containers License: ASL 2.0 URL: https://%{provider_prefix} @@ -193,6 +193,9 @@ man/md2man-all.sh # install man pages install -d -p %{buildroot}%{_mandir}/man8 install -p -m 0644 man/man8/*.8 %{buildroot}%{_mandir}/man8/. +# install bash completion +install -d -p %{buildroot}%{_sysconfdir}/bash_completion.d/ +install -p -m 0644 contrib/completions/bash/runc %{buildroot}%{_sysconfdir}/bash_completion.d/. # source codes for building projects %if 0%{?with_devel} @@ -272,6 +275,7 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath} %doc MAINTAINERS_GUIDE.md PRINCIPLES.md README.md CONTRIBUTING.md %{_bindir}/%{name} %{_mandir}/man8/. +%{_sysconfdir}/bash_completion.d/runc %if 0%{?with_devel} %files devel -f devel.file-list @@ -288,6 +292,10 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/Godeps/_workspace:%{gopath} %endif %changelog +* Thu May 26 2016 jchaloup <jchaloup@redhat.com> - 1:0.1.1-3.git57b9972 +- Add bash completion + resolves: #1340119 + * Thu May 19 2016 Lokesh Mandvekar <lsm5@fedoraproject.org> - 1:0.1.1-2.gitbaf6536 - add selinux to BUILDTAGS in addition to the default seccomp tag |