From 87764fd8ae965c37e0ebb52a418b16b0f830d202f21000c3d74ec0c72281964d Mon Sep 17 00:00:00 2001 From: Martin Hauke Date: Thu, 7 Mar 2019 20:51:11 +0000 Subject: [PATCH] Accepting request 682640 from home:kshatskyy Fix the spec, so Leap 42.3 can be built too OBS-URL: https://build.opensuse.org/request/show/682640 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/supervisor?expand=0&rev=3 --- supervisor.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/supervisor.spec b/supervisor.spec index b692a2c..20028f2 100644 --- a/supervisor.spec +++ b/supervisor.spec @@ -16,6 +16,7 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: supervisor Version: 3.3.5 Release: 0 @@ -27,10 +28,12 @@ Source: https://files.pythonhosted.org/packages/source/s/supervisor/supe Source2: supervisord.conf Source3: supervisord.service Source4: supervisord-tmpfiles.conf +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-meld3 BuildRequires: python-mock >= 0.5.0 -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros Requires: python-meld3 >= 0.6.5 Suggests: python-cElementTree >= 1.0.2 BuildArch: noarch