forked from pool/python-azure-mgmt-datalake-nspkg
Accepting request 864352 from home:glaubitz:branches:devel:languages:python:azure
- Fix issues with Python multi-flavor builds + Create directories using %pythond_expand in %install section + Use canonical %{python_sitelib} path in %files section OBS-URL: https://build.opensuse.org/request/show/864352 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-azure-mgmt-datalake-nspkg?expand=0&rev=8
This commit is contained in:
parent
186d8155b4
commit
29dfbf97e3
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 19 14:52:47 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Fix issues with Python multi-flavor builds
|
||||
+ Create directories using %pythond_expand in %install section
|
||||
+ Use canonical %{python_sitelib} path in %files section
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 26 11:07:08 UTC 2020 - Robert Schweikert <rjschwei@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-azure-mgmt-datalake-nspkg
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -60,15 +60,14 @@ install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-datalake-nspkg-%{version}
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
mkdir -p %{buildroot}%{python2_sitelib}/azure/mgmt/datalake
|
||||
mkdir -p %{buildroot}%{python3_sitelib}/azure/mgmt/datalake
|
||||
%python_expand mkdir -p %{buildroot}%{$python_sitelib}/azure/mgmt/datalake
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%license LICENSE.txt
|
||||
%python2_only %{python2_sitelib}/azure/mgmt/datalake
|
||||
%python3_only %dir %{python3_sitelib}/azure/mgmt/datalake
|
||||
%dir %{python_sitelib}/azure/mgmt/datalake
|
||||
%python2_only %{python_sitelib}/azure/mgmt/datalake
|
||||
%{python_sitelib}/azure_mgmt_datalake_nspkg-*.egg-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user