From 4f6c727597ac558012f21c7de6e69c99b020c0a0 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Wed, 16 Jan 2013 09:56:17 -0500 Subject: [PATCH] Add selinux-policy as a requires to get /etc/selinux owned --- libsemanage.spec | 6 ++---- 1 file 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 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 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 - -