forked from pool/python-oci-sdk
- Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-oci-sdk?expand=0&rev=7
This commit is contained in:
parent
63a91cc23c
commit
a3a514d0f4
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 23 10:38:47 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Fix build without python2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 16 10:41:25 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Mon Mar 16 10:41:25 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_without python2
|
||||||
Name: python-oci-sdk
|
Name: python-oci-sdk
|
||||||
Version: 2.11.0
|
Version: 2.11.0
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -55,7 +56,7 @@ BuildRequires: %{python_module pytz >= 2016.10}
|
|||||||
BuildRequires: %{python_module requests}
|
BuildRequires: %{python_module requests}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: %{python_module vcrpy}
|
BuildRequires: %{python_module vcrpy}
|
||||||
%ifpython2
|
%if %{with python2}
|
||||||
BuildRequires: python-configparser >= 3.5.0
|
BuildRequires: python-configparser >= 3.5.0
|
||||||
%endif
|
%endif
|
||||||
# /SECTION
|
# /SECTION
|
||||||
|
Loading…
Reference in New Issue
Block a user