summaryrefslogtreecommitdiffstats
path: root/qarsh.spec
diff options
context:
space:
mode:
Diffstat (limited to 'qarsh.spec')
-rw-r--r--qarsh.spec8
1 files changed, 1 insertions, 7 deletions
diff --git a/qarsh.spec b/qarsh.spec
index 3fecc8d..87de56a 100644
--- a/qarsh.spec
+++ b/qarsh.spec
@@ -32,16 +32,10 @@ allows anyone to connect to the host as any user and do any thing.
WARNING: THIS PACKAGE PROVIDES REMOTE ROOT ACCESS WITHOUT AUTHENTICATION
-
-%global selinux_policyver %(%{__sed} -e 's,.*selinux-policy-\\([^/]*\\)/.*,\\1,' /usr/share/selinux/devel/policyhelp || echo 0.0.0)
-
%package selinux
Summary: SELinux policy module supporting qarsh
Group: System Environment/Daemons
-BuildRequires: checkpolicy, selinux-policy-devel, /usr/share/selinux/devel/policyhelp, hardlink, gxpp
-%if "%{selinux_policyver}" != ""
-Requires: selinux-policy >= %{selinux_policyver}
-%endif
+BuildRequires: checkpolicy, selinux-policy-devel, hardlink, gxpp
Requires: %{name}-server = %{version}-%{release}, make
Requires(post): /usr/sbin/semodule, /sbin/fixfiles, qarsh-server
Requires(postun): /usr/sbin/semodule