From fd315323d866456f2538b18573c5c21acc88b29535c80a6b13ab096d4bb80b73 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 31 May 2017 19:32:57 +0000 Subject: [PATCH] - adjust buildrequirements for singlespec building on SLE_12 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gevent?expand=0&rev=28 --- python-gevent.changes | 5 +++++ python-gevent.spec | 14 ++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/python-gevent.changes b/python-gevent.changes index 639dadf..a8979c4 100644 --- a/python-gevent.changes +++ b/python-gevent.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 31 19:30:52 UTC 2017 - dmueller@suse.com + +- adjust buildrequirements for singlespec building on SLE_12 + ------------------------------------------------------------------- Wed Apr 19 20:55:27 UTC 2017 - toddrme2178@gmail.com diff --git a/python-gevent.spec b/python-gevent.spec index f19bcdd..47d2d27 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -29,19 +29,21 @@ Group: Development/Languages/Python Url: http://www.gevent.org/ Source: https://files.pythonhosted.org/packages/source/g/gevent/gevent-%{version}.tar.gz Source100: %{name}-rpmlintrc -BuildRequires: fdupes -BuildRequires: python-rpm-macros +BuildRequires: %{python_module cffi} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module cffi} -BuildRequires: %{python_module greenlet} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +%ifpython2 +BuildRequires: python-greenlet +Requires: python-greenlet +%endif # Documentation requirements -BuildRequires: python3-Sphinx +BuildRequires: python-Sphinx %if %{with tests} BuildRequires: %{python_module nose} %endif Requires: python-cffi -Requires: python-greenlet Recommends: python-psutil BuildRoot: %{_tmppath}/%{name}-%{version}-build %python_subpackages