Accepting request 707588 from Cloud:Tools

- Fix Azure CLI build on SLE-12 (forwarded request 707526 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/707588
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/azure-cli-telemetry?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2019-06-05 09:45:55 +00:00 committed by Git OBS Bridge
commit 06450eabaa
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 4 09:58:59 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Remove unneccesary %python_expand prefix from %fdupes call
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Apr 16 19:01:40 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Tue Apr 16 19:01:40 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -57,7 +57,7 @@ python3 setup.py build
%install %install
python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} --install-lib=%{python3_sitelib} python3 setup.py install --root=%{buildroot} --prefix=%{_prefix} --install-lib=%{python3_sitelib}
%python_expand %fdupes %{buildroot}%{$python_sitelib} %fdupes %{buildroot}%{python3_sitelib}
rm -rf %{buildroot}%{python3_sitelib}/azure/cli/__init__.* rm -rf %{buildroot}%{python3_sitelib}/azure/cli/__init__.*
rm -rf %{buildroot}%{python3_sitelib}/azure/cli/__pycache__ rm -rf %{buildroot}%{python3_sitelib}/azure/cli/__pycache__
rm -rf %{buildroot}%{python3_sitelib}/azure/__init__.* rm -rf %{buildroot}%{python3_sitelib}/azure/__init__.*