SHA256
1
0
forked from pool/aws-cli

Accepting request 774371 from Cloud:Tools

OBS-URL: https://build.opensuse.org/request/show/774371
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/aws-cli?expand=0&rev=34
This commit is contained in:
Dominique Leuenberger 2020-02-15 21:25:05 +00:00 committed by Git OBS Bridge
commit 674bb7ceeb
2 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Feb 14 13:33:26 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- make it possible to find the package under the name "awscli"
-------------------------------------------------------------------
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>

View File

@ -27,6 +27,7 @@ Source0: %{name}-%{version}.tar.gz
Patch0: hide_py_pckgmgmt.patch
BuildRequires: fdupes
Requires: groff
Provides: awscli = %{version}
BuildArch: noarch
%if 0%{?suse_version} && 0%{?suse_version} > 1315
BuildRequires: python3-devel
@ -90,6 +91,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 +110,6 @@ rm %{buildroot}/%{_bindir}/aws.cmd
%{python_sitelib}/*egg-info/*
%endif
%{_bindir}/*
%{_sysconfdir}/bash_completion.d/aws
%changelog