Adjust hardlink condition for EPEL 9.
This commit is contained in:
parent
15783a6b1d
commit
ee8dda42a6
@ -3,7 +3,7 @@
|
|||||||
%global selinux_types %(%{__awk} '/^#[[:space:]]*SELINUXTYPE=/,/^[^#]/ { if ($3 == "-") printf "%s ", $2 }' /etc/selinux/config 2>/dev/null)
|
%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})
|
%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
|
%global _hardlink /usr/bin/hardlink
|
||||||
%else
|
%else
|
||||||
%global _hardlink /usr/sbin/hardlink
|
%global _hardlink /usr/sbin/hardlink
|
||||||
@ -13,7 +13,7 @@ Summary: Open source remote desktop protocol (RDP) server
|
|||||||
Name: xrdp
|
Name: xrdp
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 0.9.17
|
Version: 0.9.17
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: ASL 2.0 and GPLv2+ and MIT
|
License: ASL 2.0 and GPLv2+ and MIT
|
||||||
URL: http://www.xrdp.org/
|
URL: http://www.xrdp.org/
|
||||||
Source0: https://github.com/neutrinolabs/xrdp/releases/download/v%{version}/xrdp-%{version}.tar.gz
|
Source0: https://github.com/neutrinolabs/xrdp/releases/download/v%{version}/xrdp-%{version}.tar.gz
|
||||||
@ -282,6 +282,9 @@ fi
|
|||||||
%{_datadir}/selinux/*/%{name}.pp
|
%{_datadir}/selinux/*/%{name}.pp
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Dec 9 2021 Bojan Smojver <bojan@rexurive.com> - 1:0.9.17-5
|
||||||
- Enable (experimental) IPv6 support (bug #2028630)
|
- Enable (experimental) IPv6 support (bug #2028630)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user