selinux: update path for interface file
Signed-off-by: Vitezslav Crhonek <vcrhonek@redhat.com>
This commit is contained in:
parent
7553f989a3
commit
b7c1ef0039
@ -4,7 +4,6 @@
|
|||||||
# defining macros needed by SELinux
|
# defining macros needed by SELinux
|
||||||
%global with_selinux 1
|
%global with_selinux 1
|
||||||
%global selinuxtype targeted
|
%global selinuxtype targeted
|
||||||
%global moduletype contrib
|
|
||||||
%global modulename openwsman
|
%global modulename openwsman
|
||||||
|
|
||||||
Name: openwsman
|
Name: openwsman
|
||||||
@ -242,7 +241,7 @@ cp -a ./build%{gem_extdir_mri}/{gem.build_complete,*.so} %{buildroot}%{gem_extdi
|
|||||||
|
|
||||||
%if 0%{?with_selinux}
|
%if 0%{?with_selinux}
|
||||||
install -D -m 0644 build/%{modulename}.pp.bz2 %{buildroot}%{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.bz2
|
install -D -m 0644 build/%{modulename}.pp.bz2 %{buildroot}%{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.bz2
|
||||||
install -D -p -m 0644 build/selinux/%{modulename}.if %{buildroot}%{_datadir}/selinux/devel/include/%{moduletype}/%{name}.if
|
install -D -p -m 0644 build/selinux/%{modulename}.if %{buildroot}%{_datadir}/selinux/devel/include/distributed/%{name}.if
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ldconfig_scriptlets -n libwsman1
|
%ldconfig_scriptlets -n libwsman1
|
||||||
@ -352,7 +351,7 @@ fi
|
|||||||
%if 0%{?with_selinux}
|
%if 0%{?with_selinux}
|
||||||
%files selinux
|
%files selinux
|
||||||
%{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.*
|
%{_datadir}/selinux/packages/%{selinuxtype}/%{modulename}.pp.*
|
||||||
%{_datadir}/selinux/devel/include/%{moduletype}/%{modulename}.if
|
%{_datadir}/selinux/devel/include/distributed/%{modulename}.if
|
||||||
%ghost %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename}
|
%ghost %{_sharedstatedir}/selinux/%{selinuxtype}/active/modules/200/%{modulename}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user