SHA256
1
0
forked from pool/python-arrow
2018-12-04 17:09:57 +00:00
committed by Git OBS Bridge
parent 8b8976817c
commit ddcf808ff4

View File

@@ -24,7 +24,7 @@ Release: 0
Summary: Better dates and times for Python
License: Apache-2.0
Group: Development/Languages/Python
Url: http://crsmithdev.com/arrow
URL: http://crsmithdev.com/arrow
Source: https://files.pythonhosted.org/packages/source/a/arrow/arrow-%{version}.tar.gz
BuildRequires: %{python_module chai}
BuildRequires: %{python_module nose}
@@ -32,15 +32,14 @@ BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module simplejson}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-python-dateutil
BuildArch: noarch
%if %{with python2}
BuildRequires: python-backports.functools_lru_cache
%endif
%ifpython2
Requires: python-backports.functools_lru_cache
%endif
Requires: python-python-dateutil
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
@@ -69,8 +68,8 @@ rm -rf arrow.egg-info
%python_expand PYTHONPATH="%{buildroot}%{$python_sitelib}:$PYTHONPATH" $python %{_bindir}/nosetests
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README.rst HISTORY.md
%license LICENSE
%doc README.rst HISTORY.md
%{python_sitelib}/*
%changelog