From 1b05c0f5f9ea76654dda190017075623ff60f8a6 Mon Sep 17 00:00:00 2001 From: imxcc Date: Thu, 2 Sep 2021 20:13:00 +0800 Subject: [PATCH] enable selinux bacause current mode is enforcing Signed-off-by: imxcc --- libcareplus.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libcareplus.spec b/libcareplus.spec index e8a9f4d..3f5c850 100644 --- a/libcareplus.spec +++ b/libcareplus.spec @@ -1,7 +1,9 @@ +%define with_selinux 1 + Version: 0.1.4 Name: libcareplus Summary: LibcarePlus tools -Release: 5 +Release: 6 Group: Applications/System License: GPLv2 Url: https://gitee.com/openeuler/libcareplus @@ -60,13 +62,12 @@ BuildRequires: elfutils-libelf-devel libunwind-devel gcc systemd %if 0%{with selinux} BuildRequires: checkpolicy BuildRequires: selinux-policy-devel -BuildRequires: /usr/share/selinux/devel/policyhelp %endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %if 0%{with selinux} -Requires: libcare-selinux = %{version}-%{release} +Requires: libcareplus-selinux = %{version}-%{release} %endif %description @@ -210,6 +211,9 @@ exit 0 %endif %changelog +* Thu Sep 02 2021 imxcc - 0.1.4.6 +- enable selinux + * Sat Aug 21 2021 caodongxia - 0.1.4-5 - fixes uninstall warning -- Gitee