Adjust hardlink condition for EPEL 9.

This commit is contained in:
Bojan Smojver 2022-01-08 13:26:54 +11:00
parent 15783a6b1d
commit ee8dda42a6

View File

@ -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 <bojan@rexurive.com> - 1:0.9.17-6
- Adjust hardlink condition for EPEL 9
* Thu Dec 9 2021 Bojan Smojver <bojan@rexurive.com> - 1:0.9.17-5
- Enable (experimental) IPv6 support (bug #2028630)