From fc44e5b1b3904196bb6a4e5b6656dca94e7998d0198f38ffeb481be2a8af3ba4 Mon Sep 17 00:00:00 2001 From: Robert Schweikert Date: Mon, 15 Apr 2019 15:05:22 +0000 Subject: [PATCH] Accepting request 694350 from home:glaubitz:branches:devel:languages:python:azure3 - Update Python Azure SDK to latest version OBS-URL: https://build.opensuse.org/request/show/694350 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:azure/python-msrest?expand=0&rev=8 --- m_drop-compatible-releases-operator.patch | 8 ++++---- m_drop-extras-require.patch | 12 ++++++++---- msrest-0.5.5.tar.gz | 3 --- msrest-0.6.6.tar.gz | 3 +++ python-msrest.changes | 12 ++++++++++++ python-msrest.spec | 8 +++----- 6 files changed, 30 insertions(+), 16 deletions(-) delete mode 100644 msrest-0.5.5.tar.gz create mode 100644 msrest-0.6.6.tar.gz diff --git a/m_drop-compatible-releases-operator.patch b/m_drop-compatible-releases-operator.patch index 969c357..56ac9e8 100644 --- a/m_drop-compatible-releases-operator.patch +++ b/m_drop-compatible-releases-operator.patch @@ -1,7 +1,7 @@ -diff -Nru msrest-0.5.5.orig/setup.py msrest-0.5.5/setup.py ---- msrest-0.5.5.orig/setup.py 2018-09-04 21:14:13.000000000 +0200 -+++ msrest-0.5.5/setup.py 2018-09-06 14:25:16.473344949 +0200 -@@ -47,7 +47,7 @@ +diff -Nru msrest-0.6.6.orig/setup.py msrest-0.6.6/setup.py +--- msrest-0.6.6.orig/setup.py 2019-03-22 02:34:37.000000000 +0100 ++++ msrest-0.6.6/setup.py 2019-04-02 17:08:39.226844660 +0200 +@@ -48,7 +48,7 @@ 'License :: OSI Approved :: MIT License', 'Topic :: Software Development'], install_requires=[ diff --git a/m_drop-extras-require.patch b/m_drop-extras-require.patch index bed355c..7c724a3 100644 --- a/m_drop-extras-require.patch +++ b/m_drop-extras-require.patch @@ -1,12 +1,16 @@ -diff -Nru msrest-0.5.5.orig/setup.py msrest-0.5.5/setup.py ---- msrest-0.5.5.orig/setup.py 2018-09-06 14:25:16.473344949 +0200 -+++ msrest-0.5.5/setup.py 2018-09-06 14:25:41.501568822 +0200 -@@ -52,8 +52,4 @@ +diff -Nru msrest-0.6.6.orig/setup.py msrest-0.6.6/setup.py +--- msrest-0.6.6.orig/setup.py 2019-04-02 17:09:03.735080855 +0200 ++++ msrest-0.6.6/setup.py 2019-04-02 17:09:14.547185065 +0200 +@@ -53,12 +53,4 @@ "isodate>=0.6.0", "certifi>=2017.4.17", ], - extras_require={ - ":python_version<'3.4'": ['enum34>=1.0.4'], - ":python_version<'3.5'": ['typing'], +- "async:python_version>='3.5'": [ +- 'aiohttp>=3.0', +- 'aiodns' +- ], - } ) diff --git a/msrest-0.5.5.tar.gz b/msrest-0.5.5.tar.gz deleted file mode 100644 index e34aece..0000000 --- a/msrest-0.5.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:af00590fb26a2203a8aa93e0a645a617f9c8fd5858f7ef079817a762a1ceb68f -size 38505 diff --git a/msrest-0.6.6.tar.gz b/msrest-0.6.6.tar.gz new file mode 100644 index 0000000..8748483 --- /dev/null +++ b/msrest-0.6.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:947e9155fb55bda98340e99c15e4115a268ff69aee0007aaa54b7bf05018029b +size 93757 diff --git a/python-msrest.changes b/python-msrest.changes index 344ca15..3706c52 100644 --- a/python-msrest.changes +++ b/python-msrest.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Apr 15 10:00:10 UTC 2019 - John Paul Adrian Glaubitz + +- New upstream release + + Version 0.6.6 + + No upstream changelog provided +- Refresh patches for new version + + m_drop-compatible-releases-operator.patch + + m_drop-extras-require.patch +- Remove python-devel package from BuildRequires +- Add %python_expand to %fdupes invocation + ------------------------------------------------------------------- Thu Sep 6 12:59:32 UTC 2018 - John Paul Adrian Glaubitz diff --git a/python-msrest.spec b/python-msrest.spec index 1baf5fb..6f967e1 100644 --- a/python-msrest.spec +++ b/python-msrest.spec @@ -1,7 +1,7 @@ # # spec file for package python-msrest # -# 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 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-msrest -Version: 0.5.5 +Version: 0.6.6 Release: 0 Summary: AutoRest swagger generator Python client runtime License: MIT @@ -28,7 +28,6 @@ Source: https://files.pythonhosted.org/packages/source/m/msrest/msrest-% Source1: LICENSE.md Patch0: m_drop-compatible-releases-operator.patch Patch1: m_drop-extras-require.patch -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -63,8 +62,7 @@ cp %{SOURCE1} LICENSE.md %install %python_install - -%fdupes %{buildroot}/%{python_sitelib}/* +%python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %defattr(-,root,root,-)