15
0
forked from pool/python-WebOb

Accepting request 1082790 from home:dirkmueller:acdc:as_python3_module

- Switch documentation to be within the main package for SLE15

OBS-URL: https://build.opensuse.org/request/show/1082790
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-WebOb?expand=0&rev=65
This commit is contained in:
2023-04-25 15:50:42 +00:00
committed by Git OBS Bridge
parent b8fde06098
commit 54b6fe93f5
2 changed files with 9 additions and 1 deletions

View File

@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-WebOb
Version: 1.8.7
@@ -50,6 +49,7 @@ The objects map much of the specified behavior of HTTP, including
header parsing and accessors for other standard parts of the
environment.
%if 0%{?suse_version} > 1500
%package -n python-WebOb-doc
Summary: WSGI request and response object - Documentation
Group: Documentation/HTML
@@ -57,6 +57,7 @@ Provides: %{python_module WebOb-doc = %{version}}
%description -n python-WebOb-doc
This package contains documentation files for %{name}.
%endif
%prep
%setup -q -n WebOb-%{version}
@@ -80,7 +81,9 @@ PYTHONPATH=./src python3 setup.py build_sphinx && rm build/sphinx/html/.buildinf
%{python_sitelib}/webob
%{python_sitelib}/WebOb-%{version}*-info
%if 0%{?suse_version} > 1500
%files -n python-WebOb-doc
%endif
%doc build/sphinx/html
%changelog