From 0b8fd20a5a06960fc58c9c76e96a0f23554a892daf8090fdf585e8cff29bc6cc Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 14:14:21 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=14 --- python-Whoosh.changes | 5 +++++ python-Whoosh.spec | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/python-Whoosh.changes b/python-Whoosh.changes index 061fc01..433daf9 100644 --- a/python-Whoosh.changes +++ b/python-Whoosh.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:56:04 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Mon Jul 10 10:20:39 UTC 2017 - jengelh@inai.de diff --git a/python-Whoosh.spec b/python-Whoosh.spec index 2de6ea1..db6290a 100644 --- a/python-Whoosh.spec +++ b/python-Whoosh.spec @@ -1,7 +1,7 @@ # # spec file for package python-Whoosh # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -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/ # @@ -28,7 +28,6 @@ Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/W/Whoosh/Whoosh-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module Sphinx} -BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros # SECTION the testing dependencies From 73f977b70175984c63db221815f128129e0b46e355e68f91d569187cd343869c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:25:52 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Whoosh?expand=0&rev=15 --- python-Whoosh.spec | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/python-Whoosh.spec b/python-Whoosh.spec index db6290a..4745b72 100644 --- a/python-Whoosh.spec +++ b/python-Whoosh.spec @@ -21,26 +21,24 @@ Name: python-Whoosh Version: 2.7.4 Release: 0 -Url: http://www.turbogears.org Summary: Pure-Python full text indexing, search, and spell checking library License: BSD-2-Clause Group: Development/Languages/Python +URL: http://www.turbogears.org Source: https://files.pythonhosted.org/packages/source/W/Whoosh/Whoosh-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros +BuildArch: noarch # SECTION the testing dependencies %if %{with test} BuildRequires: %{python_module pytest} %endif # /SECTION -BuildArch: noarch %ifpython2 Provides: python-whoosh = %{version} Obsoletes: python-whoosh < %{version} %endif - %python_subpackages %description @@ -78,11 +76,12 @@ sphinx-build -b html -d docs/build/doctrees docs/source docs/build/html %endif %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE.txt README.txt +%license LICENSE.txt +%doc README.txt %{python_sitelib}/* %files -n python-Whoosh-doc -%doc LICENSE.txt docs/build/html +%license LICENSE.txt +%doc docs/build/html %changelog