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
|
# Tests have dependency loop with python-WebTest
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-WSGIProxy2
|
Name: python-WSGIProxy2
|
||||||
Version: 0.4.3
|
Version: 0.4.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: WSGI Proxy Implementation
|
Summary: WSGI Proxy Implementation
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
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
|
Source: https://files.pythonhosted.org/packages/source/W/WSGIProxy2/WSGIProxy2-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module WebOb}
|
BuildRequires: %{python_module WebOb}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module six}
|
BuildRequires: %{python_module six}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Conflicts: python-WSGIProxy
|
||||||
|
BuildArch: noarch
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: %{python_module WebTest}
|
BuildRequires: %{python_module WebTest}
|
||||||
%endif
|
%endif
|
||||||
Conflicts: python-WSGIProxy
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -60,8 +58,8 @@ Proxy support for WebOb or classic WSGI applications
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license COPYING
|
||||||
%doc CHANGES.rst COPYING README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user