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