[libsemanage] Add /etc/selinux to payload for case where selinux-policy is not installed

Daniel J Walsh dwalsh at fedoraproject.org
Wed Jan 16 14:37:41 UTC 2013


commit 971fc3e245eeae622110cd450a004200795a38ca
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Wed Jan 16 09:37:32 2013 -0500

    Add /etc/selinux to payload for case where selinux-policy is not installed

 libsemanage.spec |    8 ++++++--
 1 files 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 <dwalsh at redhat.com> 2.1.9-4
+- Add /etc/selinux to payload
+
 * Sat Jan 5 2013 Dan Walsh <dwalsh at redhat.com> 2.1.9-3
 - Update to latest patches from eparis/Upstream
 -    libsemanage: fixes from coverity


More information about the scm-commits mailing list