14
0
forked from pool/python-WebOb

Accepting request 1082795 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1082795
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-WebOb?expand=0&rev=34
This commit is contained in:
2023-04-27 17:56:48 +00:00
committed by Git OBS Bridge
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sun Apr 23 22:40:43 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Switch documentation to be within the main package for SLE15
-------------------------------------------------------------------
Fri Apr 21 12:21:30 UTC 2023 - Dirk Müller <dmueller@suse.com>

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