diff --git a/python-WSGIProxy2.changes b/python-WSGIProxy2.changes index f4bf97c..e57dd62 100644 --- a/python-WSGIProxy2.changes +++ b/python-WSGIProxy2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:56:09 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Sun May 7 22:41:52 UTC 2017 - toddrme2178@gmail.com diff --git a/python-WSGIProxy2.spec b/python-WSGIProxy2.spec index 84321dc..d1e1c7d 100644 --- a/python-WSGIProxy2.spec +++ b/python-WSGIProxy2.spec @@ -1,7 +1,7 @@ # # spec file for package python-WSGIProxy2 # -# 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,34 +12,31 @@ # 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/ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} # Tests have dependency loop with python-WebTest %bcond_with tests - -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-WSGIProxy2 Version: 0.4.3 Release: 0 Summary: WSGI Proxy Implementation License: MIT Group: Development/Languages/Python -Url: https://github.com/gawel/WSGIProxy2/ +URL: https://github.com/gawel/WSGIProxy2/ Source: https://files.pythonhosted.org/packages/source/W/WSGIProxy2/WSGIProxy2-%{version}.tar.gz +BuildRequires: %{python_module WebOb} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} -BuildRequires: %{python_module WebOb} -BuildRequires: %{python_module six} +Conflicts: python-WSGIProxy +BuildArch: noarch %if %{with tests} BuildRequires: %{python_module WebTest} %endif -Conflicts: python-WSGIProxy -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %python_subpackages %description @@ -61,8 +58,8 @@ Proxy support for WebOb or classic WSGI applications %endif %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGES.rst COPYING README.rst +%license COPYING +%doc CHANGES.rst README.rst %{python_sitelib}/* %changelog