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}