From 86a0c97b18b5a6891ef2065f45b5e912314f1e0eef016e23f389396c11a2ea1d Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 26 Apr 2023 21:31:48 +0000 Subject: [PATCH] - move documentation into the main package for SLE15 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blinker?expand=0&rev=31 --- python-blinker.changes | 5 +++++ python-blinker.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-blinker.changes b/python-blinker.changes index fdae343..feeb061 100644 --- a/python-blinker.changes +++ b/python-blinker.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Apr 23 23:03:43 UTC 2023 - Matej Cepl + +- move documentation into the main package for SLE15 + ------------------------------------------------------------------- Fri Apr 21 12:22:48 UTC 2023 - Dirk Müller diff --git a/python-blinker.spec b/python-blinker.spec index 3d5f7fd..f9763be 100644 --- a/python-blinker.spec +++ b/python-blinker.spec @@ -42,6 +42,7 @@ interested parties to subscribe to events, or "signals". Signal receivers can subscribe to specific senders or receive signals sent by any sender. +%if 0%{?suse_version} > 1500 %package -n python-blinker-doc Summary: Documentation for %{name} Group: Documentation/HTML @@ -55,6 +56,7 @@ Signal receivers can subscribe to specific senders or receive signals sent by any sender. This sub-package contains the HTML documentation. +%endif %prep %setup -q -n blinker-%{version} @@ -82,7 +84,9 @@ popd %{python_sitelib}/blinker-%{version}-py%{python_version}.egg-info %{python_sitelib}/blinker +%if 0%{?suse_version} > 1500 %files -n python-blinker-doc +%endif %doc docs/_build/html %changelog