From ddcf808ff40f117a8c8e3de005be5dc4de33ef989cdbaad42146d809d98ed389 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:09:57 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=10 --- python-arrow.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/python-arrow.spec b/python-arrow.spec index af502cb..53497cd 100644 --- a/python-arrow.spec +++ b/python-arrow.spec @@ -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