From ea68f1d1260d21c8d055e549b5e7905c4800c990 Mon Sep 17 00:00:00 2001 From: Nathan Straz Date: Fri, 3 Sep 2010 14:11:58 -0400 Subject: Turn SELinux BuildRequires to Requires We need these on the install system since we're building the SELinux policy at install time. --- qarsh.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qarsh.spec b/qarsh.spec index c40884d..87b50c1 100644 --- a/qarsh.spec +++ b/qarsh.spec @@ -35,7 +35,7 @@ WARNING: THIS PACKAGE PROVIDES REMOTE ROOT ACCESS WITHOUT AUTHENTICATION %package selinux Summary: SELinux policy module supporting qarsh Group: System Environment/Daemons -BuildRequires: checkpolicy, selinux-policy-devel, hardlink, gxpp +Requires: 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 -- cgit From 92a3ae3b8dcf07805a609e7bc19d5fc01b8b1555 Mon Sep 17 00:00:00 2001 From: Nathan Straz Date: Wed, 15 Sep 2010 11:35:31 -0400 Subject: Fix requires for selinux-policy build These files need to be instaled before %post so mark the requirements as such. --- qarsh.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qarsh.spec b/qarsh.spec index 87b50c1..2d14075 100644 --- a/qarsh.spec +++ b/qarsh.spec @@ -35,9 +35,9 @@ WARNING: THIS PACKAGE PROVIDES REMOTE ROOT ACCESS WITHOUT AUTHENTICATION %package selinux Summary: SELinux policy module supporting qarsh Group: System Environment/Daemons -Requires: checkpolicy, selinux-policy-devel, hardlink, gxpp -Requires: %{name}-server = %{version}-%{release}, make -Requires(post): /usr/sbin/semodule, /sbin/fixfiles, qarsh-server +Requires: %{name}-server = %{version}-%{release} +Requires(post): /usr/sbin/semodule, /sbin/fixfiles, gxpp, make +Requires(post): checkpolicy, selinux-policy-devel, hardlink Requires(postun): /usr/sbin/semodule -- cgit