1
0

Accepting request 707549 from Cloud:Tools

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

OBS-URL: https://build.opensuse.org/request/show/707549
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/azure-cli-core?expand=0&rev=6
This commit is contained in:
Dominique Leuenberger 2019-06-05 09:42:41 +00:00 committed by Git OBS Bridge
commit 55ed97b3bd
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__.*