From 0a50e950808f8ee57e9ae9fce46147c98b4f957bb7539ba5241b3b238f228a11 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 26 Apr 2023 21:30:25 +0000 Subject: [PATCH] - Move documentation into the main package for SLE15 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=92 --- python-aiohttp.changes | 5 +++++ python-aiohttp.spec | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-aiohttp.changes b/python-aiohttp.changes index 2f0ad9b..4d2adb8 100644 --- a/python-aiohttp.changes +++ b/python-aiohttp.changes @@ -11,6 +11,11 @@ Wed Apr 26 07:35:37 UTC 2023 - Daniel Garcia * Fixed ConnectionResetError not being raised after client disconnection in SSL environments. (#7180) +------------------------------------------------------------------- +Sun Apr 23 22:42:27 UTC 2023 - Matej Cepl + +- Move documentation into the main package for SLE15 + ------------------------------------------------------------------- Fri Apr 21 12:21:39 UTC 2023 - Dirk Müller diff --git a/python-aiohttp.spec b/python-aiohttp.spec index c0ea357..012ae96 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -94,9 +94,6 @@ BuildRequires: python3-sphinxcontrib-towncrier # /SECTION %python_subpackages -%package -n %{name}-doc -Summary: Documentation files for %{name} - %description Asynchronous HTTP client/server framework for Python. @@ -104,6 +101,9 @@ Asynchronous HTTP client/server framework for Python. - Supports both client and server WebSockets out-of-the-box. - Web-server has middleware and pluggable routing. +%package -n %{name}-doc +Summary: Documentation files for %{name} + %description -n %{name}-doc HTML documentation on the API and examples for %{name}. @@ -156,7 +156,9 @@ fi %{python_sitearch}/aiohttp-%{version}*-info %if %{with docs} +%if 0%{?suse_version} > 1500 %files -n %{name}-doc +%endif %doc docs/_build/html %endif