diff --git a/python-WSGIProxy2.spec b/python-WSGIProxy2.spec index 4feeacb..d1e1c7d 100644 --- a/python-WSGIProxy2.spec +++ b/python-WSGIProxy2.spec @@ -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