From 06569ba10ed271077124e3ba8f0c6d75e203811e2d559f4618dd86a9307d95eb Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Tue, 5 Nov 2024 08:37:01 +0000 Subject: [PATCH] - Only produce python-sip-doc when the default is SIP4: SIP6 does not provide a -doc package. The previously generated meta package only contained a README flle and no dependencies. OBS-URL: https://build.opensuse.org/package/show/KDE:Qt:PyQt/python-sip?expand=0&rev=11 --- python-sip.changes | 7 +++++++ python-sip.spec | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-sip.changes b/python-sip.changes index d6c0f06..6f9a57d 100644 --- a/python-sip.changes +++ b/python-sip.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Nov 5 07:40:38 UTC 2024 - Dominique Leuenberger + +- Only produce python-sip-doc when the default is SIP4: SIP6 does + not provide a -doc package. The previously generated meta package + only contained a README flle and no dependencies. + ------------------------------------------------------------------- Mon Nov 4 12:37:01 UTC 2024 - Dominique Leuenberger diff --git a/python-sip.spec b/python-sip.spec index cf45be3..3aca3e4 100644 --- a/python-sip.spec +++ b/python-sip.spec @@ -91,12 +91,12 @@ cp %{SOURCE0} . # only sip4 still provides the old python-sip package %files %{python_files} %doc README.SUSE + +%files -n python-sip-doc +%doc README.SUSE %endif %files %{python_files devel} %doc README.SUSE -%files -n python-sip-doc -%doc README.SUSE - %changelog