1
0

Accepting request 795815 from devel:languages:python

- Fix condition for py2 only packages

OBS-URL: https://build.opensuse.org/request/show/795815
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-google-api-core?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2020-04-21 11:10:53 +00:00 committed by Git OBS Bridge
commit 1b407600af
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 20 11:56:55 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Fix condition for py2 only packages
-------------------------------------------------------------------
Wed Apr 8 07:20:04 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>

View File

@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
Name: python-google-api-core
Version: 1.16.0
Release: 0
@ -48,7 +49,7 @@ Requires: python-setuptools >= 34.0.0
Requires: python-six >= 1.10.0
Suggests: python-grpcio-gcp >= 0.2.2
BuildArch: noarch
%ifpython2
%if %{with python2}
BuildRequires: python2-enum34
BuildRequires: python2-futures >= 3.2.0
%endif