From 971fc3e245eeae622110cd450a004200795a38ca Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Wed, 16 Jan 2013 09:37:32 -0500 Subject: [PATCH] Add /etc/selinux to payload for case where selinux-policy is not installed --- libsemanage.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libsemanage.spec b/libsemanage.spec index ee6ea84..c081088 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -10,7 +10,7 @@ Summary: SELinux binary policy manipulation library Name: libsemanage Version: 2.1.9 -Release: 3%{?dist} +Release: 4%{?dist} License: LGPLv2+ Group: System Environment/Libraries Source: libsemanage-%{version}.tgz @@ -146,7 +146,8 @@ rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) -%config(noreplace) /etc/selinux/semanage.conf +%dir %{_sysconfdir}/selinux +%config(noreplace) %{_sysconfdir}/selinux/semanage.conf /%{_libdir}/libsemanage.so.1 %post -p /sbin/ldconfig @@ -180,6 +181,9 @@ rm -rf ${RPM_BUILD_ROOT} %endif # if with_python3 %changelog +* Wed Jan 16 2013 Dan Walsh 2.1.9-4 +- Add /etc/selinux to payload + * Sat Jan 5 2013 Dan Walsh 2.1.9-3 - Update to latest patches from eparis/Upstream - libsemanage: fixes from coverity