diff options
author | François Andriot <albator78@libertysurf.fr> | 2015-04-20 21:24:26 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2015-04-20 21:24:26 +0200 |
commit | 07d8f15f3a8cf671ea485cecd1da5d51d23be84e (patch) | |
tree | 09ba0a4d9a48c5378693b796ab0f4424b5249902 /redhat/main/tdebase/tdebase-14.0.0.spec | |
parent | 985dc0e053e528b7c9ecb44a5e4ed5b781eeb72a (diff) | |
download | tde-packaging-07d8f15f3a8cf671ea485cecd1da5d51d23be84e.tar.gz tde-packaging-07d8f15f3a8cf671ea485cecd1da5d51d23be84e.zip |
RPM packaging: update koffice, tdebase, tdegraphics
Diffstat (limited to 'redhat/main/tdebase/tdebase-14.0.0.spec')
-rw-r--r-- | redhat/main/tdebase/tdebase-14.0.0.spec | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/redhat/main/tdebase/tdebase-14.0.0.spec b/redhat/main/tdebase/tdebase-14.0.0.spec index b0e44ad5e..46ab3ce31 100644 --- a/redhat/main/tdebase/tdebase-14.0.0.spec +++ b/redhat/main/tdebase/tdebase-14.0.0.spec @@ -2188,9 +2188,6 @@ already. Most users won't need this. %{tdm_datadir}/themes/ %{tde_datadir}/config/%{tdm} %dir %{_sysconfdir}/trinity/%{tdm} -%if 0%{?with_selinux_policy} -%exclude %{?_sysconfdir}/trinity/%{tdm}/tdm.pp -%endif %config(noreplace) %{_sysconfdir}/trinity/%{tdm}/* %{tde_tdedocdir}/HTML/en/%{tdm}/ %if 0%{?suse_version} == 0 @@ -2262,12 +2259,13 @@ fi %if 0%{?mgaversion} || 0%{?mdkversion} %make_session %endif + +# SELINUX context for tdm %if 0%{?with_selinux_policy} /usr/sbin/semodule -i "%{?_sysconfdir}/trinity/%{tdm}/tdm.pp" %endif -# SELINUX context for tdm -%if 0%{?fedora} == 21 +%if 0%{?fedora} == 21 || 0%{?rhel} >= 7 if ! grep -q "%{tde_bindir}/tdm" "/etc/selinux/targeted/contexts/files/file_contexts.local" ; then echo "%{tde_bindir}/tdm -- system_u:object_r:xdm_exec_t" >>"/etc/selinux/targeted/contexts/files/file_contexts.local" restorecon "%{tde_bindir}/tdm" |