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:
commit
55ed97b3bd
@ -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>
|
Tue May 21 09:47:09 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@ Patch1: acc_drop-compatible-releases-operator.patch
|
|||||||
Patch2: acc_relax-requires-versions.patch
|
Patch2: acc_relax-requires-versions.patch
|
||||||
BuildRequires: azure-cli-nspkg
|
BuildRequires: azure-cli-nspkg
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-azure-nspkg >= 3.0.0
|
BuildRequires: python3-azure-nspkg >= 3.0.0
|
||||||
BuildRequires: python3-setuptools
|
BuildRequires: python3-setuptools
|
||||||
Requires: azure-cli-nspkg
|
Requires: azure-cli-nspkg
|
||||||
@ -77,7 +78,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__.*
|
||||||
|
Loading…
Reference in New Issue
Block a user