From d09f1fccd1e013e457a3078ab69878d7cf59ba010fb03ebba43b7b690d084f2e Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Fri, 26 May 2023 07:38:01 +0000 Subject: [PATCH] Accepting request 1089050 from home:dirkmueller:branches:KDE:Qt:PyQt - for SLE15, package documentation in devel package OBS-URL: https://build.opensuse.org/request/show/1089050 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip6?expand=0&rev=33 --- python-sip6.changes | 5 +++++ python-sip6.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/python-sip6.changes b/python-sip6.changes index d5c5330..28581c1 100644 --- a/python-sip6.changes +++ b/python-sip6.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 25 15:59:34 UTC 2023 - Dirk Müller + +- for SLE15, package documentation in devel package + ------------------------------------------------------------------- Mon Apr 24 19:40:46 UTC 2023 - Ben Greiner diff --git a/python-sip6.spec b/python-sip6.spec index 9319e70..402485c 100644 --- a/python-sip6.spec +++ b/python-sip6.spec @@ -76,6 +76,7 @@ to generate wxPython, the Python bindings for wxWidgets. This package contains all the developer tools you need to create your own sip bindings. +%if 0%{?suse_version} > 1500 %package -n python-sip6-doc Summary: A Python bindings generator for C/C++ libraries -- common documentation Group: Development/Libraries/Python @@ -88,6 +89,7 @@ Python bindings for the Qt toolkit, but can be used to create bindings for any C or C++ library. This package contains the documentation and example files. +%endif %prep %autosetup -p1 -n sip-%{version} @@ -123,8 +125,10 @@ This package contains the documentation and example files. %{python_sitearch}/sipbuild %{python_sitearch}/sip-%{version}*-info +%if 0%{?suse_version} > 1500 %files -n python-sip6-doc %license LICENSE* %doc doc/ +%endif %changelog