Dominique Leuenberger 2019-03-05 11:26:28 +00:00 committed by Git OBS Bridge
commit 973eedfdd4
2 changed files with 14 additions and 9 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Feb 27 20:00:44 UTC 2019 - Todd R <toddrme2178@gmail.com>
- 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 <toddrme2178@gmail.com>

View File

@ -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