[libsemanage] Add selinux-policy as a requires to get /etc/selinux owned

Daniel J Walsh dwalsh at fedoraproject.org
Wed Jan 16 14:56:22 UTC 2013


commit 4f6c727597ac558012f21c7de6e69c99b020c0a0
Author: Dan Walsh <dwalsh at redhat.com>
Date:   Wed Jan 16 09:56:17 2013 -0500

    Add selinux-policy as a requires to get /etc/selinux owned

 libsemanage.spec |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/libsemanage.spec b/libsemanage.spec
index c081088..dabd26e 100644
--- a/libsemanage.spec
+++ b/libsemanage.spec
@@ -22,6 +22,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: libselinux-devel >= %{libselinuxver} swig ustr-devel
 BuildRequires: libsepol-devel >= %{libsepolver} 
 BuildRequires: python-devel bison flex bzip2-devel
+Requires: selinux-policy
 
 %if 0%{?with_python3}
 BuildRequires: python3-devel
@@ -146,7 +147,6 @@ rm -rf ${RPM_BUILD_ROOT}
 
 %files
 %defattr(-,root,root)
-%dir %{_sysconfdir}/selinux
 %config(noreplace) %{_sysconfdir}/selinux/semanage.conf
 /%{_libdir}/libsemanage.so.1
 
@@ -182,7 +182,7 @@ rm -rf ${RPM_BUILD_ROOT}
 
 %changelog
 * Wed Jan 16 2013 Dan Walsh <dwalsh at redhat.com> 2.1.9-4
-- Add /etc/selinux to payload
+- Add selinux-policy as a requires to get /etc/selinux owned
 
 * Sat Jan 5 2013 Dan Walsh <dwalsh at redhat.com> 2.1.9-3
 - Update to latest patches from eparis/Upstream
@@ -1232,5 +1232,3 @@ invoking the appropriate config tool (or by hardcoding the old value for
 
 - Initial version
 - Created by Stephen Smalley <sds at epoch.ncsc.mil> 
-
-


More information about the scm-commits mailing list