- install and enable bash completion

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cf-cli?expand=0&rev=8
This commit is contained in:
Tim Hardeck 2017-03-21 14:24:32 +00:00 committed by Git OBS Bridge
parent 8b8e931fdb
commit c11412beea
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Mar 21 14:23:27 UTC 2017 - thardeck@suse.com
- install and enable bash completion
-------------------------------------------------------------------
Fri Mar 3 15:12:42 UTC 2017 - thardeck@suse.com

View File

@ -46,6 +46,8 @@ grep -rl "0.0.0-unknown-version" ./ | xargs sed -i 's/0.0.0-unknown-version/%{ve
%gobuild
%install
install -m 755 -d %{buildroot}/%{_sysconfdir}/bash_completion.d
cp ci/installers/completion/cf %{buildroot}/%{_sysconfdir}/bash_completion.d/cf
mkdir -p %{buildroot}/usr/bin
cp ../go/bin/cli %{buildroot}/usr/bin/cf
cp %{SOURCE1} ./
@ -53,6 +55,7 @@ cp %{SOURCE1} ./
%files
/usr/bin/cf
%defattr(-,root,root,-)
%config %{_sysconfdir}/bash_completion.d/cf
%doc CHANGELOG.md LICENSE NOTICE README
%changelog