From ee8dda42a64a50c0d70e9e587a48bffb56630388 Mon Sep 17 00:00:00 2001 From: Bojan Smojver Date: Sat, 8 Jan 2022 13:26:54 +1100 Subject: [PATCH] Adjust hardlink condition for EPEL 9. --- xrdp.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/xrdp.spec b/xrdp.spec index 576adfe..fa55936 100644 --- a/xrdp.spec +++ b/xrdp.spec @@ -3,7 +3,7 @@ %global selinux_types %(%{__awk} '/^#[[:space:]]*SELINUXTYPE=/,/^[^#]/ { if ($3 == "-") printf "%s ", $2 }' /etc/selinux/config 2>/dev/null) %global selinux_variants %([ -z "%{selinux_types}" ] && echo mls targeted || echo %{selinux_types}) -%if 0%{?fedora} >= 31 +%if 0%{?fedora} >= 31 || 0%{?rhel} >= 9 %global _hardlink /usr/bin/hardlink %else %global _hardlink /usr/sbin/hardlink @@ -13,7 +13,7 @@ Summary: Open source remote desktop protocol (RDP) server Name: xrdp Epoch: 1 Version: 0.9.17 -Release: 5%{?dist} +Release: 6%{?dist} License: ASL 2.0 and GPLv2+ and MIT URL: http://www.xrdp.org/ Source0: https://github.com/neutrinolabs/xrdp/releases/download/v%{version}/xrdp-%{version}.tar.gz @@ -282,6 +282,9 @@ fi %{_datadir}/selinux/*/%{name}.pp %changelog +* Sat Jan 8 2022 Bojan Smojver - 1:0.9.17-6 +- Adjust hardlink condition for EPEL 9 + * Thu Dec 9 2021 Bojan Smojver - 1:0.9.17-5 - Enable (experimental) IPv6 support (bug #2028630)