From 6d40a6c27439e6e8c907b6f979c450dfba0f725d Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Jan 16 2013 14:46:31 +0000 Subject: Add selinux-policy-filesystem for /etc/selinux directory so it can be shared with libsemanage --- diff --git a/selinux-policy.spec b/selinux-policy.spec index f29d961..682d126 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -57,6 +57,7 @@ Url: http://oss.tresys.com/repos/refpolicy/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python gawk checkpolicy >= %{CHECKPOLICYVER} m4 policycoreutils-devel >= %{POLICYCOREUTILSVER} bzip2 +Requires: selinux-policy-filesystem Requires(pre): policycoreutils >= %{POLICYCOREUTILSVER} Requires(post): /bin/awk /usr/bin/sha512sum @@ -67,11 +68,20 @@ SELinux Base package %defattr(-,root,root,-) %dir %{_usr}/share/selinux %dir %{_usr}/share/selinux/packages -%dir %{_sysconfdir}/selinux %ghost %config(noreplace) %{_sysconfdir}/selinux/config %ghost %{_sysconfdir}/sysconfig/selinux %{_usr}/lib/tmpfiles.d/selinux-policy.conf +%package filesystem +Summary: SELinux policy filesystem +Group: System Environment/Base + +%description filesystem +SELinux policy filesytem + +%files filesystem +%dir %{_sysconfdir}/selinux + %package devel Summary: SELinux policy devel Group: System Environment/Base