enable selinux bacause current mode is enforcing
Signed-off-by: imxcc <xingchaochao@huawei.com>
This commit is contained in:
parent
6bd9c302fd
commit
1b05c0f5f9
@ -1,7 +1,9 @@
|
|||||||
|
%define with_selinux 1
|
||||||
|
|
||||||
Version: 0.1.4
|
Version: 0.1.4
|
||||||
Name: libcareplus
|
Name: libcareplus
|
||||||
Summary: LibcarePlus tools
|
Summary: LibcarePlus tools
|
||||||
Release: 5
|
Release: 6
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Url: https://gitee.com/openeuler/libcareplus
|
Url: https://gitee.com/openeuler/libcareplus
|
||||||
@ -60,13 +62,12 @@ BuildRequires: elfutils-libelf-devel libunwind-devel gcc systemd
|
|||||||
%if 0%{with selinux}
|
%if 0%{with selinux}
|
||||||
BuildRequires: checkpolicy
|
BuildRequires: checkpolicy
|
||||||
BuildRequires: selinux-policy-devel
|
BuildRequires: selinux-policy-devel
|
||||||
BuildRequires: /usr/share/selinux/devel/policyhelp
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
%if 0%{with selinux}
|
%if 0%{with selinux}
|
||||||
Requires: libcare-selinux = %{version}-%{release}
|
Requires: libcareplus-selinux = %{version}-%{release}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -210,6 +211,9 @@ exit 0
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 02 2021 imxcc <xingchaochao@huawei.com> - 0.1.4.6
|
||||||
|
- enable selinux
|
||||||
|
|
||||||
* Sat Aug 21 2021 caodongxia <caodongxia@huawei.com> - 0.1.4-5
|
* Sat Aug 21 2021 caodongxia <caodongxia@huawei.com> - 0.1.4-5
|
||||||
- fixes uninstall warning
|
- fixes uninstall warning
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user