Fix HREL 7 build

This commit is contained in:
Lubomir Rintel 2019-06-14 11:54:19 +02:00
parent 731a8eb633
commit 75d980ac35

View File

@ -11,7 +11,11 @@ Source: http://freedesktop.org/software/libqmi/%{name}-%{version}.tar.xz
BuildRequires: gcc BuildRequires: gcc
BuildRequires: glib2-devel >= 2.32.0 BuildRequires: glib2-devel >= 2.32.0
BuildRequires: pkgconfig(gudev-1.0) >= 147 BuildRequires: pkgconfig(gudev-1.0) >= 147
%if 0%{?rhel} > 0 && 0%{?rhel} < 8
BuildRequires: python
%else
BuildRequires: python3 BuildRequires: python3
%endif
BuildRequires: gtk-doc BuildRequires: gtk-doc
BuildRequires: libmbim-devel >= 1.18.0 BuildRequires: libmbim-devel >= 1.18.0