From d0c5aefe7fd6072663a1a0d7d69aa0aeccaa72f2 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Tue, 9 Jul 2013 11:12:34 -0400 Subject: [PATCH] Remove dependance on selinux-policy, /etc/selinux should be owned by libsemanage, and selinux-policy can require it. --- libsemanage.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libsemanage.spec b/libsemanage.spec index 662af9c..93c6a65 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -7,7 +7,7 @@ Summary: SELinux binary policy manipulation library Name: libsemanage Version: 2.1.10 -Release: 5%{?dist} +Release: 6%{?dist} License: LGPLv2+ Group: System Environment/Libraries Source: libsemanage-%{version}.tgz @@ -19,7 +19,6 @@ 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 @@ -144,6 +143,7 @@ rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) +%dir %{_sysconfdir}/selinux %config(noreplace) %{_sysconfdir}/selinux/semanage.conf /%{_libdir}/libsemanage.so.1 @@ -178,6 +178,9 @@ rm -rf ${RPM_BUILD_ROOT} %endif # if with_python3 %changelog +* Tue Jul 9 2013 Dan Walsh - 2.1.10-6 +- Remove dependance on selinux-policy, /etc/selinux should be owned by libsemanage, and selinux-policy can require it. + * Fri Jun 28 2013 Dan Walsh - 2.1.10-5 - Allways build python3 version