Accepting request 845519 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/845519 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/azure-cli?expand=0&rev=23
This commit is contained in:
commit
373f5b6534
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 2 15:15:15 UTC 2020 - olaf@aepfle.de
|
||||
|
||||
- Remove trailing .sh suffix from bash-completion to make sure
|
||||
az is actually recognized as a command with completions
|
||||
Drop also the string 'completion' from resulting filename
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 13 11:20:30 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
@ -384,7 +384,7 @@ python3 setup.py build
|
||||
%define debug_package %{nil}
|
||||
%else
|
||||
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} --install-lib=%{python3_sitelib}
|
||||
install -DTm644 %{buildroot}%{_bindir}/az.completion.sh %{buildroot}%{_datadir}/bash-completion/completions/az.completion.sh
|
||||
install -DTm644 %{buildroot}%{_bindir}/az.completion.sh %{buildroot}%{_datadir}/bash-completion/completions/az
|
||||
%fdupes %{buildroot}%{python3_sitelib}
|
||||
rm -rf %{buildroot}%{python3_sitelib}/azure/cli/command_modules/__init__.*
|
||||
rm -rf %{buildroot}%{python3_sitelib}/azure/cli/command_modules/__pycache__
|
||||
@ -400,7 +400,7 @@ rm -rf %{buildroot}%{python3_sitelib}/azure/__pycache__
|
||||
%doc HISTORY.rst README.rst
|
||||
%license LICENSE.txt
|
||||
%{_bindir}/az
|
||||
%{_datadir}/bash-completion/completions/az.completion.sh
|
||||
%{_datadir}/bash-completion/completions/az
|
||||
%exclude /usr/bin/az.bat
|
||||
%exclude /usr/bin/az.completion.sh
|
||||
%{python3_sitelib}/azure/cli
|
||||
|
Loading…
Reference in New Issue
Block a user