Fix imlib2 inclusion conditions.
This commit is contained in:
parent
72aba3d850
commit
ddfdbce073
@ -9,7 +9,7 @@
|
|||||||
%global _hardlink /usr/sbin/hardlink
|
%global _hardlink /usr/sbin/hardlink
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if ! 0%{?rhel} <= 8
|
%if 0%{?fedora} >= 34 || 0%{?rhel} >= 9
|
||||||
%global _with_imlib2 --with-imlib2
|
%global _with_imlib2 --with-imlib2
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -44,7 +44,7 @@ BuildRequires: gcc
|
|||||||
BuildRequires: libX11-devel
|
BuildRequires: libX11-devel
|
||||||
BuildRequires: libXfixes-devel
|
BuildRequires: libXfixes-devel
|
||||||
BuildRequires: libXrandr-devel
|
BuildRequires: libXrandr-devel
|
||||||
%if ! 0%{?rhel} <= 8
|
%if 0%{?fedora} >= 34 || 0%{?rhel} >= 9
|
||||||
BuildRequires: imlib2-devel
|
BuildRequires: imlib2-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: openssl
|
BuildRequires: openssl
|
||||||
|
Loading…
Reference in New Issue
Block a user