Accepting request 659749 from devel:languages:python

Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/659749
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-waitress?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2018-12-24 10:45:59 +00:00 committed by Git OBS Bridge
commit 10f50fd18c
2 changed files with 12 additions and 10 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Dec 4 12:55:53 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Oct 13 00:49:45 UTC 2017 - arun@gmx.de Fri Oct 13 00:49:45 UTC 2017 - arun@gmx.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-waitress # spec file for package python-waitress
# #
# 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,32 +12,29 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# Tests require a network connection # Tests require a network connection
%bcond_with tests %bcond_with tests
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-waitress Name: python-waitress
Version: 1.1.0 Version: 1.1.0
Release: 0 Release: 0
Summary: Waitress WSGI server Summary: Waitress WSGI server
License: ZPL-2.1 License: ZPL-2.1
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/Pylons/waitress URL: https://github.com/Pylons/waitress
Source: https://files.pythonhosted.org/packages/source/w/waitress/waitress-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/w/waitress/waitress-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch
%if %{with tests} %if %{with tests}
# Test requirements: # Test requirements:
BuildRequires: %{python_module nose} BuildRequires: %{python_module nose}
%endif %endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@ -66,8 +63,8 @@ http://docs.pylonsproject.org/projects/waitress/en/latest/ .
%endif %endif
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %license LICENSE.txt
%doc COPYRIGHT.txt LICENSE.txt README.rst %doc COPYRIGHT.txt README.rst
%python3_only %{_bindir}/waitress-serve %python3_only %{_bindir}/waitress-serve
%{python_sitelib}/* %{python_sitelib}/*