summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorJan Pazdziora <jpazdziora@redhat.com>2014-06-06 16:07:11 +0200
committerSimo Sorce <simo@redhat.com>2014-06-06 11:55:56 -0400
commit9812c6cef6a575bd36d53d588235244cfa2cfe94 (patch)
tree6b135c5d9e8c29636fbeeb2fca2e2b1c78283e67 /contrib
parent479cdde64e7f7d37cb59af82747abfe5707db619 (diff)
downloadipsilon-9812c6cef6a575bd36d53d588235244cfa2cfe94.tar.gz
ipsilon-9812c6cef6a575bd36d53d588235244cfa2cfe94.tar.xz
ipsilon-9812c6cef6a575bd36d53d588235244cfa2cfe94.zip
Make sure semanage and restorecon are installed when we want to use them.
Addressing Installing : ipsilon-0.2.4-3.fc20.x86_64 1/1 /var/tmp/rpm-tmp.pDkQSL: line 1: semanage: command not found Signed-off-by: Jan Pazdziora <jpazdziora@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/fedora/ipsilon.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/fedora/ipsilon.spec b/contrib/fedora/ipsilon.spec
index 74add2f..910c8c2 100644
--- a/contrib/fedora/ipsilon.spec
+++ b/contrib/fedora/ipsilon.spec
@@ -20,6 +20,8 @@ Requires: python-jinja2
Requires: python-lxml
Requires: python-pam
Requires(pre): shadow-utils
+Requires(post): %_sbindir/semanage, %_sbindir/restorecon
+Requires(postun): %_sbindir/semanage
%description
Ipsilon is a multi-protocol Identiy Provider service. Its function is to