forked from pool/python-arrow
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=10
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user