Require sepolgen-ifgen to run in post install

This commit is contained in:
Dan Walsh 2013-06-18 08:55:54 -04:00
parent 708bb6ef9d
commit 9f52d7a4b1

View File

@ -77,6 +77,7 @@ Group: System Environment/Base
Requires(pre): selinux-policy = %{version}-%{release}
Requires: m4 checkpolicy >= %{CHECKPOLICYVER}
Requires: /usr/bin/make
Requires(post): policycoreutils-devel >= %{POLICYCOREUTILSVER}
%description devel
SELinux policy development and man page package
@ -94,6 +95,9 @@ SELinux policy development and man page package
%{_usr}/share/selinux/devel/example.*
%{_usr}/share/selinux/devel/policy.*
%post devel
selinuxenabled && /usr/bin/sepolgen-ifgen 2>/dev/null
%package doc
Summary: SELinux policy documentation
Group: System Environment/Base