From 81c9ef63f85d12cefce05a8afe498f9f3424f13f Mon Sep 17 00:00:00 2001 From: Bojan Smojver Date: Sat, 10 Aug 2019 09:57:46 +1000 Subject: [PATCH] Fix RHEL8 conditional. --- xorgxrdp.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}