From 29dfbf97e37b2e66d93d6009be99c33635fc4dbb09d1ac51228b9b717f56ac37 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Tue, 19 Jan 2021 20:16:42 +0000 Subject: [PATCH] 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 --- python-azure-mgmt-datalake-nspkg.changes | 7 +++++++ python-azure-mgmt-datalake-nspkg.spec | 9 ++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/python-azure-mgmt-datalake-nspkg.changes b/python-azure-mgmt-datalake-nspkg.changes index aa5eeed..c1def3a 100644 --- a/python-azure-mgmt-datalake-nspkg.changes +++ b/python-azure-mgmt-datalake-nspkg.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jan 19 14:52:47 UTC 2021 - John Paul Adrian Glaubitz + +- 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 diff --git a/python-azure-mgmt-datalake-nspkg.spec b/python-azure-mgmt-datalake-nspkg.spec index 84bdc9e..347402d 100644 --- a/python-azure-mgmt-datalake-nspkg.spec +++ b/python-azure-mgmt-datalake-nspkg.spec @@ -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