Accepting request 694562 from devel:languages:python:azure
- Update Python Azure SDK to latest version (forwarded request 694349 from glaubitz) OBS-URL: https://build.opensuse.org/request/show/694562 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-storage-queue?expand=0&rev=2
This commit is contained in:
11
asq_drop-compatible-releases-operator.patch
Normal file
11
asq_drop-compatible-releases-operator.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff -Nru azure-storage-queue-1.4.0.orig/setup.py azure-storage-queue-1.4.0/setup.py
|
||||
--- azure-storage-queue-1.4.0.orig/setup.py 2018-11-10 00:24:52.000000000 +0100
|
||||
+++ azure-storage-queue-1.4.0/setup.py 2019-04-15 12:45:17.874385417 +0200
|
||||
@@ -72,6 +72,6 @@
|
||||
]),
|
||||
install_requires=[
|
||||
'azure-common>=1.1.5',
|
||||
- 'azure-storage-common~=1.4'
|
||||
+ 'azure-storage-common>=1.4'
|
||||
],
|
||||
)
|
||||
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3a170b87e5ddfc3de61ede9597e52a5bbcd0e70cce4818e1cbd84b62d7b89d9e
|
||||
size 23706
|
||||
3
azure-storage-queue-1.4.0.tar.gz
Normal file
3
azure-storage-queue-1.4.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0bafe9e61c0ce7b3f3ecadea21e931dab3248bd4989dc327a8666c5deae7f7ed
|
||||
size 23827
|
||||
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 15 10:46:52 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- New upstream release
|
||||
+ Version 1.4.0
|
||||
- Add patch to drop compatible releases operator from setup.py,
|
||||
required for SLES12 as the setuptools version is too old
|
||||
+ asq_drop-compatible-releases-operator.patch
|
||||
- Bump minimum version for namespace packages
|
||||
to 3.0.0 in BuildRequires and Requires
|
||||
- Remove python-devel package from BuildRequires
|
||||
- Remove unzip package from BuildRequires
|
||||
- Run fdupes to hardlink duplicate files
|
||||
+ Add fdupes to BuildRequires
|
||||
+ Add %fdupes invocation to %install
|
||||
- Update BuildRequires and Requires from setup.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 8 13:41:05 UTC 2018 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-azure-storage-queue
|
||||
#
|
||||
# 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,12 +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-storage-queue
|
||||
Version: 1.3.0
|
||||
Version: 1.4.0
|
||||
Release: 0
|
||||
Summary: Microsoft Azure Storage Queue Client Library for Python
|
||||
License: MIT
|
||||
@@ -25,17 +26,17 @@ Group: Development/Languages/Python
|
||||
Url: https://github.com/Azure/azure-sdk-for-python
|
||||
Source: https://files.pythonhosted.org/packages/source/a/azure-storage-queue/azure-storage-queue-%{version}.tar.gz
|
||||
Source1: LICENSE.txt
|
||||
BuildRequires: %{python_module devel}
|
||||
Patch1: asq_drop-compatible-releases-operator.patch
|
||||
BuildRequires: %{python_module azure-nspkg >= 3.0.0}
|
||||
BuildRequires: %{python_module azure-storage-nspkg >= 3.0.0}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: unzip
|
||||
BuildRequires: %{python_module azure-storage-nspkg}
|
||||
BuildRequires: %{python_module azure-nspkg}
|
||||
Requires: python-azure-storage-nspkg
|
||||
Requires: python-azure-nspkg
|
||||
Requires: python-azure-common >= 1.1.5
|
||||
Requires: python-azure-storage-common >= 1.3.0
|
||||
Requires: python-azure-storage-common < 1.4.0
|
||||
Requires: python-azure-nspkg >= 3.0.0
|
||||
Requires: python-azure-storage-common < 2.0.0
|
||||
Requires: python-azure-storage-common >= 1.4.0
|
||||
Requires: python-azure-storage-nspkg >= 3.0.0
|
||||
Conflicts: python-azure-sdk <= 2.0.0
|
||||
Conflicts: python-azure-storage <= 0.36.0
|
||||
|
||||
@@ -51,6 +52,7 @@ Page.
|
||||
|
||||
%prep
|
||||
%setup -q -n azure-storage-queue-%{version}
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
install -m 644 %{SOURCE1} %{_builddir}/azure-storage-queue-%{version}
|
||||
@@ -58,6 +60,7 @@ install -m 644 %{SOURCE1} %{_builddir}/azure-storage-queue-%{version}
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%{python_expand # delete common files
|
||||
rm -rf %{buildroot}%{$python_sitelib}/azure/storage/__init__.*
|
||||
rm -rf %{buildroot}%{$python_sitelib}/azure/storage/__pycache__
|
||||
@@ -71,4 +74,5 @@ rm -rf %{buildroot}%{$python_sitelib}/azure/__pycache__
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/azure/storage/queue
|
||||
%{python_sitelib}/azure_storage_queue-*.egg-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user