Fix build on el7
This commit is contained in:
parent
74d2ea9e6b
commit
e2bcfc163c
@ -12,7 +12,11 @@ BuildRequires: gcc
|
|||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: automake autoconf libtool
|
BuildRequires: automake autoconf libtool
|
||||||
|
%if 0%{?rhel} > 0 && 0%{?rhel} < 8
|
||||||
|
BuildRequires: python
|
||||||
|
%else
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
|
%endif
|
||||||
BuildRequires: pkgconfig(gudev-1.0) >= 147
|
BuildRequires: pkgconfig(gudev-1.0) >= 147
|
||||||
BuildRequires: gtk-doc
|
BuildRequires: gtk-doc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user