Accepting request 561594 from home:alarrosa:branches:devel:languages:python

- python3-futures doesn't exist so only require it when building
  the python2 flavor

OBS-URL: https://build.opensuse.org/request/show/561594
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-futures?expand=0&rev=4
This commit is contained in:
Tomáš Chvátal 2018-01-04 14:01:49 +00:00 committed by Git OBS Bridge
parent ee8ecec12a
commit fc61d20bb5
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jan 4 11:00:16 UTC 2018 - alarrosa@suse.com
- python3-futures doesn't exist so only require it when building
the python2 flavor
-------------------------------------------------------------------
Wed May 17 11:34:21 UTC 2017 - cbosdonnat@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-requests-futures
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@ -32,7 +32,9 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%ifpython2
Requires: python-futures >= 2.1.3
%endif
Requires: python-requests >= 1.2.0
%python_subpackages