forked from pool/python-azure-mgmt-containerinstance
Accepting request 539572 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/539572 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-azure-mgmt-containerinstance?expand=0&rev=3
This commit is contained in:
14
amc_drop-compatible-releases-operator.patch
Normal file
14
amc_drop-compatible-releases-operator.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
diff -Nru azure-mgmt-containerinstance-0.1.0.orig/setup.py azure-mgmt-containerinstance-0.1.0/setup.py
|
||||
--- azure-mgmt-containerinstance-0.1.0.orig/setup.py 2017-07-27 22:09:56.000000000 +0200
|
||||
+++ azure-mgmt-containerinstance-0.1.0/setup.py 2017-11-03 19:40:30.047288428 +0100
|
||||
@@ -78,8 +78,8 @@
|
||||
zip_safe=False,
|
||||
packages=find_packages(),
|
||||
install_requires=[
|
||||
- 'msrestazure~=0.4.11',
|
||||
- 'azure-common~=1.1',
|
||||
+ 'msrestazure>=0.4.11',
|
||||
+ 'azure-common>=1.1',
|
||||
],
|
||||
cmdclass=cmdclass
|
||||
)
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 3 18:46:06 UTC 2017 - adrian.glaubitz@suse.com
|
||||
|
||||
- Add patch to drop compatible releases operator from setup.py,
|
||||
required for SLES12 as the setuptools version is too old
|
||||
+ amc_drop-compatible-releases-operator.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 9 14:43:14 UTC 2017 - adrian.glaubitz@suse.com
|
||||
|
||||
|
@@ -26,6 +26,7 @@ Group: Development/Languages/Python
|
||||
Url: https://github.com/Azure/azure-sdk-for-python
|
||||
Source: https://files.pythonhosted.org/packages/source/a/azure-mgmt-containerinstance/azure-mgmt-containerinstance-%{version}.zip
|
||||
Source1: LICENSE.txt
|
||||
Patch1: amc_drop-compatible-releases-operator.patch
|
||||
BuildRequires: %{python_module azure-mgmt-nspkg}
|
||||
BuildRequires: %{python_module azure-nspkg}
|
||||
BuildRequires: %{python_module devel}
|
||||
@@ -54,6 +55,7 @@ This package has been tested with Python 2.7, 3.3, 3.4, 3.5 and 3.6.
|
||||
|
||||
%prep
|
||||
%setup -q -n azure-mgmt-containerinstance-%{version}
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
install -m 644 %{SOURCE1} %{_builddir}/azure-mgmt-containerinstance-%{version}
|
||||
|
Reference in New Issue
Block a user