From 1ad8896f950ab98cf05fd7121ca7017ecb4db237c83566ce15eb3389c0f88092 Mon Sep 17 00:00:00 2001 From: Luca Beltrame Date: Tue, 5 Mar 2019 08:56:17 +0000 Subject: [PATCH] Accepting request 681555 from home:TheBlackCat:branches:KDE:Qt5 - Make eric api files supplement eric. - Make sip api files supplement sip. - Fix sip api dependency. OBS-URL: https://build.opensuse.org/request/show/681555 OBS-URL: https://build.opensuse.org/package/show/KDE:Qt5/python-qtcharts-qt5?expand=0&rev=9 --- python-qtcharts-qt5.changes | 7 +++++++ python-qtcharts-qt5.spec | 16 +++++++--------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/python-qtcharts-qt5.changes b/python-qtcharts-qt5.changes index dde78c3..7659541 100644 --- a/python-qtcharts-qt5.changes +++ b/python-qtcharts-qt5.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Feb 27 20:00:44 UTC 2019 - Todd R + +- Make eric api files supplement eric. +- Make sip api files supplement sip. +- Fix sip api dependency. + ------------------------------------------------------------------- Thu Feb 21 18:05:43 UTC 2019 - Todd R diff --git a/python-qtcharts-qt5.spec b/python-qtcharts-qt5.spec index c4c5d26..55fb221 100644 --- a/python-qtcharts-qt5.spec +++ b/python-qtcharts-qt5.spec @@ -31,13 +31,7 @@ BuildRequires: %{python_module qt5-devel} BuildRequires: %{python_module sip-devel >= 4.19.1} BuildRequires: python-rpm-macros Requires: python-qt5 - -%ifpython2 -%requires_python_sip_api -%endif -%ifpython3 -%requires_python3_sip_api -%endif +Requires: python-sip(api) = %{python_sip_api_ver} %python_subpackages @@ -45,18 +39,22 @@ Requires: python-qt5 PyQtChart is a set of Python bindings for the Qt5 Charts library. %package -n %{name}-api -Summary: Eric6 API files for %{name} +Summary: Eric API files for %{name} Group: Development/Tools/IDE Provides: %{python_module qtcharts-qt5-api = %{version}} +Supplements: packageand(eric:%{python2_prefix}-qtcharts-qt5) +Supplements: packageand(eric:python3-qtcharts-qt5) BuildArch: noarch %description -n %{name}-api -This package provides Qt5 Charts library API files for eric6. +This package provides Qt5 Charts library API files for the Eric IDE. %package -n %{name}-sip Summary: Sip files for %{name} Group: Development/Libraries/Python Provides: %{python_module qtcharts-qt5-sip = %{version}} +Supplements: packageand(%{python2_prefix}-sip:%{python2_prefix}-qtcharts-qt5) +Supplements: packageand(python3-sip:python3-qtcharts-qt5) BuildArch: noarch %description -n %{name}-sip