@ -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
Requires: xorg-x11-server-Xorg%{_isa} = %{xorg_server_version}