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