abstract python2-dbus pkgname

f41
Rex Dieter 7 years ago
parent bdeb52910b
commit 98fce0f894

@ -66,7 +66,12 @@ BuildRequires: pkgconfig(Qt5Xml) pkgconfig(Qt5XmlPatterns)
BuildRequires: pkgconfig(Qt5WebChannel) BuildRequires: pkgconfig(Qt5WebChannel)
BuildRequires: pkgconfig(Qt5WebSockets) BuildRequires: pkgconfig(Qt5WebSockets)
BuildRequires: python2-devel python2 BuildRequires: python2-devel python2
BuildRequires: python2-dbus %if 0%{?fedora} > 27
%global python2_dbus python2-dbus
%else
%global python2_dbus dbus-python
%endif
BuildRequires: %{python2_dbus}
BuildRequires: sip-devel >= 4.19.4 BuildRequires: sip-devel >= 4.19.4
%if 0%{?with_python3} %if 0%{?with_python3}
BuildRequires: python3-devel python3 BuildRequires: python3-devel python3
@ -99,7 +104,7 @@ PyQt5 is Python bindings for Qt5.
%package base %package base
Summary: Python bindings for Qt5 base Summary: Python bindings for Qt5 base
Requires: %{name}-rpm-macros = %{version}-%{release} Requires: %{name}-rpm-macros = %{version}-%{release}
Requires: python2-dbus Requires: %{python2_dbus}
Obsoletes: python-qt5 < 5.5.1-10 Obsoletes: python-qt5 < 5.5.1-10
%description base %description base

Loading…
Cancel
Save