abstract python2-dbus pkgname
This commit is contained in:
parent
bdeb52910b
commit
98fce0f894
@ -66,7 +66,12 @@ BuildRequires: pkgconfig(Qt5Xml) pkgconfig(Qt5XmlPatterns)
|
||||
BuildRequires: pkgconfig(Qt5WebChannel)
|
||||
BuildRequires: pkgconfig(Qt5WebSockets)
|
||||
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
|
||||
%if 0%{?with_python3}
|
||||
BuildRequires: python3-devel python3
|
||||
@ -99,7 +104,7 @@ PyQt5 is Python bindings for Qt5.
|
||||
%package base
|
||||
Summary: Python bindings for Qt5 base
|
||||
Requires: %{name}-rpm-macros = %{version}-%{release}
|
||||
Requires: python2-dbus
|
||||
Requires: %{python2_dbus}
|
||||
Obsoletes: python-qt5 < 5.5.1-10
|
||||
%description base
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user