From 43605df1fa6d8ad8780787af890a4cdc601214b0 Mon Sep 17 00:00:00 2001 From: Bojan Smojver Date: Sat, 10 Aug 2019 11:28:30 +1000 Subject: [PATCH] Only ask for libXfont-devel on Fedora less or equal than 24. --- xorgxrdp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xorgxrdp.spec b/xorgxrdp.spec index fe9e141..9fb6296 100644 --- a/xorgxrdp.spec +++ b/xorgxrdp.spec @@ -12,7 +12,7 @@ Source0: https://github.com/neutrinolabs/xorgxrdp/releases/download/v%{ve BuildRequires: nasm BuildRequires: xorg-x11-server-devel BuildRequires: xrdp-devel -%if 0%{?fedora} <= 24 +%if 0%{?fedora} > 0 && 0%{?fedora} <= 24 BuildRequires: libXfont-devel %else BuildRequires: libXfont2-devel