From 9cbb4044492326e60db1130936c5363a48675687 Mon Sep 17 00:00:00 2001 From: Jan Chaloupka Date: Thu, 26 May 2016 15:35:18 +0200 Subject: Add bash completion - resolves: #1340119 --- .gitignore | 2 +- runc.spec | 12 ++++++++++-- sources | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 2ddb0b1..10eb79d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/runc-baf6536.tar.gz +/runc-57b9972.tar.gz diff --git a/runc.spec b/runc.spec index 8946bc5..120d76c 100644 --- a/runc.spec +++ b/runc.spec @@ -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 - 1:0.1.1-3.git57b9972 +- Add bash completion + resolves: #1340119 + * Thu May 19 2016 Lokesh Mandvekar - 1:0.1.1-2.gitbaf6536 - add selinux to BUILDTAGS in addition to the default seccomp tag diff --git a/sources b/sources index b3b14e7..7f81517 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b6b2f2e5722666e7d1a1d5062ff996e3 runc-baf6536.tar.gz +829c619c0b2200236be10eab85700c18 runc-57b9972.tar.gz -- cgit