Require sepolgen-ifgen to run in post install
This commit is contained in:
parent
708bb6ef9d
commit
9f52d7a4b1
@ -77,6 +77,7 @@ Group: System Environment/Base
|
|||||||
Requires(pre): selinux-policy = %{version}-%{release}
|
Requires(pre): selinux-policy = %{version}-%{release}
|
||||||
Requires: m4 checkpolicy >= %{CHECKPOLICYVER}
|
Requires: m4 checkpolicy >= %{CHECKPOLICYVER}
|
||||||
Requires: /usr/bin/make
|
Requires: /usr/bin/make
|
||||||
|
Requires(post): policycoreutils-devel >= %{POLICYCOREUTILSVER}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
SELinux policy development and man page package
|
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/example.*
|
||||||
%{_usr}/share/selinux/devel/policy.*
|
%{_usr}/share/selinux/devel/policy.*
|
||||||
|
|
||||||
|
%post devel
|
||||||
|
selinuxenabled && /usr/bin/sepolgen-ifgen 2>/dev/null
|
||||||
|
|
||||||
%package doc
|
%package doc
|
||||||
Summary: SELinux policy documentation
|
Summary: SELinux policy documentation
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
|
Loading…
Reference in New Issue
Block a user