From 3565bcee5a9e7cd8f158df555b2bb8a45a76c23f Mon Sep 17 00:00:00 2001 From: Bojan Smojver Date: Sat, 10 Aug 2019 10:12:23 +1000 Subject: [PATCH] Try a bit broader conditional to catch libXfont2-devel. --- xorgxrdp.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xorgxrdp.spec b/xorgxrdp.spec index 6627167..fe9e141 100644 --- a/xorgxrdp.spec +++ b/xorgxrdp.spec @@ -14,8 +14,7 @@ BuildRequires: xorg-x11-server-devel BuildRequires: xrdp-devel %if 0%{?fedora} <= 24 BuildRequires: libXfont-devel -%endif -%if 0%{?rhel} >= 7 +%else BuildRequires: libXfont2-devel %endif Requires: xorg-x11-server-Xorg%{_isa} = %{xorg_server_version}