Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WSGIProxy2?expand=0&rev=17
This commit is contained in:
parent
ec7a43fcff
commit
da525e6696
@ -16,29 +16,27 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!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
|
||||
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
|
||||
@ -60,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
|
||||
|
Loading…
x
Reference in New Issue
Block a user