|
|
|
@ -77,11 +77,11 @@ BuildRequires: python2-devel python2
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: %{python2_dbus}
|
|
|
|
|
%global sip_ver 4.19.12
|
|
|
|
|
BuildRequires: python2-PyQt5-sip >= %{sip_ver}
|
|
|
|
|
BuildRequires: python2-pyqt5-sip >= %{sip_ver}
|
|
|
|
|
BuildRequires: python2-sip-devel >= %{sip_ver}
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-devel python%{python3_pkgversion}
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-PyQt5-sip >= %{sip_ver}
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-pyqt5-sip >= %{sip_ver}
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-sip-devel >= %{sip_ver}
|
|
|
|
|
BuildRequires: python%{python3_pkgversion}-dbus
|
|
|
|
|
%endif # with_python3
|
|
|
|
@ -101,7 +101,7 @@ Summary: Python 2 bindings for Qt5
|
|
|
|
|
Requires: python2-qt5-base%{?_isa} = %{version}-%{release}
|
|
|
|
|
BuildRequires: qt5-qtbase-private-devel
|
|
|
|
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
|
|
|
|
%{?_sip_api:Requires: python2-PyQt5-sip-api(%{_sip_api_major}) >= %{_sip_api}}
|
|
|
|
|
%{?_sip_api:Requires: python2-pyqt5-sip-api(%{_sip_api_major}) >= %{_sip_api}}
|
|
|
|
|
Provides: PyQt5 = %{version}-%{release}
|
|
|
|
|
Provides: PyQt5%{?_isa} = %{version}-%{release}
|
|
|
|
|
Provides: python2-PyQt5 = %{version}-%{release}
|
|
|
|
@ -159,7 +159,7 @@ Requires: python%{python3_pkgversion}-qt5-base%{?_isa} = %{version}-%{release}
|
|
|
|
|
%package -n python%{python3_pkgversion}-qt5-base
|
|
|
|
|
Summary: Python 3 bindings for Qt5 base
|
|
|
|
|
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
|
|
|
|
|
%{?_sip_api:Requires: python%{python3_pkgversion}-PyQt5-sip-api(%{_sip_api_major}) >= %{_sip_api}}
|
|
|
|
|
%{?_sip_api:Requires: python%{python3_pkgversion}-pyqt5-sip-api(%{_sip_api_major}) >= %{_sip_api}}
|
|
|
|
|
Provides: python%{python3_pkgversion}-PyQt5-base = %{version}-%{release}
|
|
|
|
|
Provides: python%{python3_pkgversion}-PyQt5-base%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-rpm-macros = %{version}-%{release}
|
|
|
|
|