diff --git a/azure-mgmt-datalake-nspkg-2.0.0.zip b/azure-mgmt-datalake-nspkg-2.0.0.zip deleted file mode 100644 index d6bb584..0000000 --- a/azure-mgmt-datalake-nspkg-2.0.0.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:28b8774a1aba3e11c431f9c6cc984fde31a0ecbb89270924f392504f4260ca37 -size 4761 diff --git a/azure-mgmt-datalake-nspkg-3.0.1.zip b/azure-mgmt-datalake-nspkg-3.0.1.zip new file mode 100644 index 0000000..7819536 --- /dev/null +++ b/azure-mgmt-datalake-nspkg-3.0.1.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:deb192ba422f8b3ec272ce4e88736796f216f28ea5b03f28331d784b7a3f4880 +size 5750 diff --git a/python-azure-mgmt-datalake-nspkg.changes b/python-azure-mgmt-datalake-nspkg.changes index 65020c0..aeea221 100644 --- a/python-azure-mgmt-datalake-nspkg.changes +++ b/python-azure-mgmt-datalake-nspkg.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri Apr 12 09:46:48 UTC 2019 - John Paul Adrian Glaubitz + +- New upstream release + + Version 3.0.1 +- Bump minimum version for namespace packages + to 3.0.0 in BuildRequires and Requires +- Remove python-devel package from BuildRequires +- Run fdupes to hardlink duplicate files + + Add fdupes to BuildRequires + + Add %fdupes invocation to %install +- Switch to implicit namespace packages on Python 3 (PEP 420) + + Create an empty python_sitelib directory on Python 3 +- Update BuildRequires and Requires from setup.py + ------------------------------------------------------------------- Fri Sep 7 08:05:11 UTC 2018 - John Paul Adrian Glaubitz diff --git a/python-azure-mgmt-datalake-nspkg.spec b/python-azure-mgmt-datalake-nspkg.spec index e12d620..d11be10 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) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-azure-mgmt-datalake-nspkg -Version: 2.0.0 +Version: 3.0.1 Release: 0 Summary: Microsoft Azure Data Lake Management namespace package License: MIT @@ -26,14 +26,14 @@ Group: Development/Languages/Python Url: https://github.com/Azure/azure-sdk-for-python Source: https://files.pythonhosted.org/packages/source/a/azure-mgmt-datalake-nspkg/azure-mgmt-datalake-nspkg-%{version}.zip Source1: LICENSE.txt -BuildRequires: %{python_module azure-mgmt-nspkg} -BuildRequires: %{python_module azure-nspkg} -BuildRequires: %{python_module devel} +BuildRequires: %{python_module azure-mgmt-nspkg >= 3.0.0} +BuildRequires: %{python_module azure-nspkg >= 3.0.0} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: unzip -Requires: python-azure-mgmt-nspkg -Requires: python-azure-nspkg +Requires: python-azure-mgmt-nspkg >= 3.0.0 +Requires: python-azure-nspkg >= 3.0.0 Conflicts: python-azure-sdk <= 2.0.0 BuildArch: noarch @@ -56,12 +56,16 @@ 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 %files %{python_files} %defattr(-,root,root,-) %doc README.rst %license LICENSE.txt -%{python_sitelib}/azure/mgmt/datalake +%python2_only %{python2_sitelib}/azure/mgmt/datalake +%python3_only %dir %{python3_sitelib}/azure/mgmt/datalake %{python_sitelib}/azure_mgmt_datalake_nspkg-*.egg-info %changelog