From fde041141feaef88bd7e5bad1dba81c4724945ad7ae7c9397b5a5d69362bb5a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 16 Dec 2019 08:01:47 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=29 --- python-arrow.spec | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/python-arrow.spec b/python-arrow.spec index 19cb982..eec3bc5 100644 --- a/python-arrow.spec +++ b/python-arrow.spec @@ -32,12 +32,10 @@ Summary: Better dates and times for Python License: Apache-2.0 URL: https://github.com/crsmithdev/arrow Source: https://files.pythonhosted.org/packages/source/a/arrow/arrow-%{version}.tar.gz -BuildRequires: %{python_module base} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{without test} BuildRequires: %{python_module setuptools} -%else +%if %{with test} BuildRequires: %{python_module arrow == %{version}} BuildRequires: %{python_module chai} BuildRequires: %{python_module dateparser} @@ -72,9 +70,7 @@ Arrow is heavily inspired by moment.js and requests. rm -rf arrow.egg-info %build -%if %{without test} %python_build -%endif %install %if %{without test}