diff --git a/xorgxrdp.spec b/xorgxrdp.spec index 2f5f64a..6627167 100644 --- a/xorgxrdp.spec +++ b/xorgxrdp.spec @@ -12,10 +12,10 @@ Source0: https://github.com/neutrinolabs/xorgxrdp/releases/download/v%{ve BuildRequires: nasm BuildRequires: xorg-x11-server-devel BuildRequires: xrdp-devel -%if 0%{?fedora} <= 24 || 0%{?rhel} >= 8 +%if 0%{?fedora} <= 24 BuildRequires: libXfont-devel %endif -%if 0%{?rhel} == 7 +%if 0%{?rhel} >= 7 BuildRequires: libXfont2-devel %endif Requires: xorg-x11-server-Xorg%{_isa} = %{xorg_server_version}