forked from pool/aws-cli
- Add bash command completion capability (boo#1117074)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/aws-cli?expand=0&rev=80
This commit is contained in:
parent
e0d94096d2
commit
2eafd31bcd
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 10 17:29:44 UTC 2020 - Robert Schweikert <rjschwei@suse.com>
|
||||
|
||||
- Add bash command completion capability (boo#1117074)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 30 12:47:41 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
@ -90,6 +90,9 @@ find %{buildroot}%{python_sitelib}/awscli/examples -type f -exec chmod 644 {} \;
|
||||
%endif
|
||||
# No DOS crap
|
||||
rm %{buildroot}/%{_bindir}/aws.cmd
|
||||
# bash completion
|
||||
install -d -m 755 %{buildroot}%{_sysconfdir}/bash_completion.d
|
||||
ln -s %{_bindir}/aws_bash_completer %{buildroot}%{_sysconfdir}/bash_completion.d/aws
|
||||
|
||||
%files
|
||||
%doc CHANGELOG.rst README.rst
|
||||
@ -106,5 +109,6 @@ rm %{buildroot}/%{_bindir}/aws.cmd
|
||||
%{python_sitelib}/*egg-info/*
|
||||
%endif
|
||||
%{_bindir}/*
|
||||
%{_sysconfdir}/bash_completion.d/aws
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user