Accepting request 694344 from home:glaubitz:branches:devel:languages:python:azure3
- Update Python Azure SDK to latest version OBS-URL: https://build.opensuse.org/request/show/694344 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-azure-servicemanagement-legacy?expand=0&rev=4
This commit is contained in:
parent
dcc9511d21
commit
43c014f44c
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 15 09:33:01 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 6 12:17:22 UTC 2018 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-azure-servicemanagement-legacy
|
||||
#
|
||||
# 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,7 +12,7 @@
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
@ -26,13 +26,13 @@ Group: Development/Languages/Python
|
||||
Url: https://github.com/Azure/azure-sdk-for-python
|
||||
Source: https://files.pythonhosted.org/packages/source/a/azure-servicemanagement-legacy/azure-servicemanagement-legacy-%{version}.zip
|
||||
Source1: LICENSE.txt
|
||||
BuildRequires: %{python_module azure-nspkg}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module azure-nspkg >= 3.0.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: unzip
|
||||
Requires: python-azure-common >= 1.1.5
|
||||
Requires: python-azure-nspkg
|
||||
Requires: python-azure-nspkg >= 3.0.0
|
||||
Requires: python-requests
|
||||
Conflicts: python-azure-sdk <= 2.0.0
|
||||
|
||||
@ -54,6 +54,7 @@ install -m 644 %{SOURCE1} %{_builddir}/azure-servicemanagement-legacy-%{version}
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%{python_expand # delete common files
|
||||
rm -rf %{buildroot}%{$python_sitelib}/azure/__init__.*
|
||||
rm -rf %{buildroot}%{$python_sitelib}/azure/__pycache__
|
||||
|
Loading…
Reference in New Issue
Block a user