Try a bit broader conditional to catch libXfont2-devel.

epel8
Bojan Smojver 6 years ago
parent 81c9ef63f8
commit 3565bcee5a

@ -14,8 +14,7 @@ BuildRequires: xorg-x11-server-devel
BuildRequires: xrdp-devel BuildRequires: xrdp-devel
%if 0%{?fedora} <= 24 %if 0%{?fedora} <= 24
BuildRequires: libXfont-devel BuildRequires: libXfont-devel
%endif %else
%if 0%{?rhel} >= 7
BuildRequires: libXfont2-devel BuildRequires: libXfont2-devel
%endif %endif
Requires: xorg-x11-server-Xorg%{_isa} = %{xorg_server_version} Requires: xorg-x11-server-Xorg%{_isa} = %{xorg_server_version}

Loading…
Cancel
Save