1
0
forked from pool/python-Whoosh

Accepting request 654064 from devel:languages:python

Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/654064
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Whoosh?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2018-12-13 18:44:55 +00:00 committed by Git OBS Bridge
commit c098de16d4
2 changed files with 13 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 4 12:56:04 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Mon Jul 10 10:20:39 UTC 2017 - jengelh@inai.de

View File

@ -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/
#
@ -21,27 +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 devel}
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
@ -79,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