[selinux-policy: 1/4] Add selinux-policy-filesystem for /etc/selinux directory so it can be shared with libsemanage

Daniel J Walsh dwalsh at fedoraproject.org
Tue Jan 29 15:53:19 UTC 2013


commit 6d40a6c27439e6e8c907b6f979c450dfba0f725d
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Wed Jan 16 09:46:31 2013 -0500

    Add selinux-policy-filesystem for /etc/selinux directory so it can be shared with libsemanage

 selinux-policy.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
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


More information about the scm-commits mailing list