From 16dee40cc442247b1d37e424e03cb8bbed62f09e3b633e0dba9776b31d3b6de1 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 3 May 2023 14:41:34 +0000 Subject: [PATCH] Accepting request 1084371 from home:dirkmueller:acdc:as_python3_module - Switch documentation to be within the main package. OBS-URL: https://build.opensuse.org/request/show/1084371 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gevent?expand=0&rev=87 --- python-gevent.changes | 5 +++++ python-gevent.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-gevent.changes b/python-gevent.changes index 4702d30..e837200 100644 --- a/python-gevent.changes +++ b/python-gevent.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Apr 23 23:15:24 UTC 2023 - Matej Cepl + +- Switch documentation to be within the main package. + ------------------------------------------------------------------- Fri Apr 21 12:25:42 UTC 2023 - Dirk Müller diff --git a/python-gevent.spec b/python-gevent.spec index 2460dcc..b47ed10 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -91,6 +91,7 @@ gevent is inspired by eventlet but features more consistent API, simpler implementation and better performance. Read why others use gevent and check out the list of the open source projects based on gevent. +%if 0%{?suse_version} > 1500 %package -n python-gevent-doc Summary: Documentation for %{name} Group: Documentation/Other @@ -99,6 +100,7 @@ BuildArch: noarch %description -n python-gevent-doc Documentation and examples for %{name}. +%endif %prep %setup -q -n gevent-%{version} @@ -172,8 +174,10 @@ fi %{python_sitearch}/gevent-%{version}*-info %{python_sitearch}/gevent +%if 0%{?suse_version} > 1500 %files -n python-gevent-doc %license LICENSE* +%endif %doc examples/ %changelog