selinux: Update based on latest packaging guide
https://fedoraproject.org/wiki/SELinux/IndependentPolicy Add dependency on selinux-policy-targeted Exclude installed policy module file from RPM verification Signed-off-by: Nikola Knazekova <nknazeko@redhat.com>
This commit is contained in:
parent
0ae94a6ee8
commit
ca389b9dcd
@ -88,7 +88,8 @@ a D-Bus interface to the USBGuard daemon component.
|
||||
Summary: USBGuard selinux
|
||||
Group: Applications/System
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildRequires: selinux-policy
|
||||
Requires: selinux-policy-%{selinuxtype}
|
||||
Requires(post): selinux-policy-%{selinuxtype}
|
||||
BuildRequires: selinux-policy-devel
|
||||
BuildArch: noarch
|
||||
%{?selinux_requires}
|
||||
@ -213,7 +214,7 @@ find %{buildroot} \( -name '*.la' -o -name '*.a' \) -exec rm -f {} ';'
|
||||
|
||||
%files selinux
|
||||
%{_datadir}/selinux/packages/%{selinuxtype}/%{name}.pp.bz2
|
||||
%ghost %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{name}
|
||||
%ghost %verify(not md5 size mode mtime) %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{name}
|
||||
%{_datadir}/selinux/devel/include/%{moduletype}/ipp-%{name}.if
|
||||
|
||||
%post selinux
|
||||
|
||||
Loading…
Reference in New Issue
Block a user