1
0

Accepting request 696895 from devel:languages:python:azure

- Update Python Azure SDK to latest version (forwarded request 696804 from glaubitz)

OBS-URL: https://build.opensuse.org/request/show/696895
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-mgmt-datalake-nspkg?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2019-05-14 11:40:37 +00:00 committed by Git OBS Bridge
commit 0f9746a1e6
4 changed files with 31 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:28b8774a1aba3e11c431f9c6cc984fde31a0ecbb89270924f392504f4260ca37
size 4761

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:deb192ba422f8b3ec272ce4e88736796f216f28ea5b03f28331d784b7a3f4880
size 5750

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Apr 12 09:46:48 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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 <adrian.glaubitz@suse.com>

View File

@ -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