From 8b8976817c29f251c8d639c6fbdd93c787587e4ab768a739e523beac73a4031c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:13:53 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-arrow?expand=0&rev=9 --- python-arrow.changes | 5 +++++ python-arrow.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-arrow.changes b/python-arrow.changes index 6a08043..8d2fbb4 100644 --- a/python-arrow.changes +++ b/python-arrow.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:45:42 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Tue Feb 20 20:59:15 UTC 2018 - arun@gmx.de diff --git a/python-arrow.spec b/python-arrow.spec index 4bfc52b..af502cb 100644 --- a/python-arrow.spec +++ b/python-arrow.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -27,7 +27,6 @@ Group: Development/Languages/Python 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 devel} BuildRequires: %{python_module nose} BuildRequires: %{python_module python-dateutil} BuildRequires: %{python_module simplejson} From ddcf808ff40f117a8c8e3de005be5dc4de33ef989cdbaad42146d809d98ed389 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:09:57 +0000 Subject: [PATCH 2/2] 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