1
0

Accepting request 707486 from home:glaubitz:fixes:Cloud:Tools

- Fix Azure CLI build on SLE-12

OBS-URL: https://build.opensuse.org/request/show/707486
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/azure-cli-core?expand=0&rev=17
This commit is contained in:
Robert Schweikert 2019-06-04 12:25:55 +00:00 committed by Git OBS Bridge
parent 9adff62436
commit 2206fa0b3f
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 4 09:39:29 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Add missing python-rpm-macros package to BuildRequires
- Remove unneccesary %python_expand prefix from %fdupes call
-------------------------------------------------------------------
Tue May 21 09:47:09 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@ -29,6 +29,7 @@ Patch1: acc_drop-compatible-releases-operator.patch
Patch2: acc_relax-requires-versions.patch
BuildRequires: azure-cli-nspkg
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-azure-nspkg >= 3.0.0
BuildRequires: python3-setuptools
Requires: azure-cli-nspkg
@ -77,7 +78,7 @@ python3 setup.py build
%install
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/__pycache__
rm -rf %{buildroot}%{python3_sitelib}/azure/__init__.*