From 54b6fe93f59598fc103fef038915285a0e5bee255d8cd7bead5508ec6072e5a7 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Tue, 25 Apr 2023 15:50:42 +0000 Subject: [PATCH] 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 --- python-WebOb.changes | 5 +++++ python-WebOb.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-WebOb.changes b/python-WebOb.changes index 482a392..de56daa 100644 --- a/python-WebOb.changes +++ b/python-WebOb.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Apr 23 22:40:43 UTC 2023 - Matej Cepl + +- Switch documentation to be within the main package for SLE15 + ------------------------------------------------------------------- Fri Apr 21 12:21:30 UTC 2023 - Dirk Müller diff --git a/python-WebOb.spec b/python-WebOb.spec index ec80661..a005671 100644 --- a/python-WebOb.spec +++ b/python-WebOb.spec @@ -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