sandbox to require xorg only in Fedora and RHEL <= 9

This commit is contained in:
Petr Lautrbach 2023-12-14 18:08:50 +01:00
parent 99b3f5a5d3
commit 0b9f7c1112

View File

@ -271,7 +271,10 @@ The policycoreutils-devel package contains the management tools use to develop p
%package sandbox
Summary: SELinux sandbox utilities
Requires: python3-policycoreutils = %{version}-%{release}
Requires: xorg-x11-server-Xephyr >= 1.14.1-2 /usr/bin/rsync /usr/bin/xmodmap
%if 0%{?fedora} || 0%{?rhel} <= 9
Requires: xorg-x11-server-Xephyr >= 1.14.1-2
%endif
Requires: /usr/bin/rsync /usr/bin/xmodmap
Requires: matchbox-window-manager
BuildRequires: libcap-ng-devel