Tomáš Chvátal 2019-12-16 08:01:47 +00:00 committed by Git OBS Bridge
parent 520a533871
commit fde041141f

View File

@ -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}