diff --git a/xrdp.spec b/xrdp.spec index cb38116..7c00974 100644 --- a/xrdp.spec +++ b/xrdp.spec @@ -9,7 +9,7 @@ %global _hardlink /usr/sbin/hardlink %endif -%if ! 0%{?rhel} <= 8 +%if 0%{?fedora} >= 34 || 0%{?rhel} >= 9 %global _with_imlib2 --with-imlib2 %endif @@ -44,7 +44,7 @@ BuildRequires: gcc BuildRequires: libX11-devel BuildRequires: libXfixes-devel BuildRequires: libXrandr-devel -%if ! 0%{?rhel} <= 8 +%if 0%{?fedora} >= 34 || 0%{?rhel} >= 9 BuildRequires: imlib2-devel %endif BuildRequires: openssl