diff --git a/policycoreutils.spec b/policycoreutils.spec index d6c2e45..0e6dbc5 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -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