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
This commit is contained in:
Luca Beltrame 2019-03-05 08:56:17 +00:00 committed by Git OBS Bridge
parent d23b397417
commit 1ad8896f95
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> 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_module sip-devel >= 4.19.1}
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-qt5 Requires: python-qt5
Requires: python-sip(api) = %{python_sip_api_ver}
%ifpython2
%requires_python_sip_api
%endif
%ifpython3
%requires_python3_sip_api
%endif
%python_subpackages %python_subpackages
@ -45,18 +39,22 @@ Requires: python-qt5
PyQtChart is a set of Python bindings for the Qt5 Charts library. PyQtChart is a set of Python bindings for the Qt5 Charts library.
%package -n %{name}-api %package -n %{name}-api
Summary: Eric6 API files for %{name} Summary: Eric API files for %{name}
Group: Development/Tools/IDE Group: Development/Tools/IDE
Provides: %{python_module qtcharts-qt5-api = %{version}} Provides: %{python_module qtcharts-qt5-api = %{version}}
Supplements: packageand(eric:%{python2_prefix}-qtcharts-qt5)
Supplements: packageand(eric:python3-qtcharts-qt5)
BuildArch: noarch BuildArch: noarch
%description -n %{name}-api %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 %package -n %{name}-sip
Summary: Sip files for %{name} Summary: Sip files for %{name}
Group: Development/Libraries/Python Group: Development/Libraries/Python
Provides: %{python_module qtcharts-qt5-sip = %{version}} 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 BuildArch: noarch
%description -n %{name}-sip %description -n %{name}-sip