From 9812c6cef6a575bd36d53d588235244cfa2cfe94 Mon Sep 17 00:00:00 2001 From: Jan Pazdziora Date: Fri, 6 Jun 2014 16:07:11 +0200 Subject: [PATCH] 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 Reviewed-by: Simo Sorce --- contrib/fedora/ipsilon.spec | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.20.1