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