From 50e5f241cc438501c1ac8d305596f4958fabc3fe Mon Sep 17 00:00:00 2001 From: yang_zhuang_zhuang <1162011203@qq.com> Date: Tue, 7 Sep 2021 11:04:03 +0800 Subject: [PATCH] add "%%set_build_flags" foe security build flags --- policycoreutils.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/policycoreutils.spec b/policycoreutils.spec index d000e6e..51b7e70 100644 --- a/policycoreutils.spec +++ b/policycoreutils.spec @@ -3,7 +3,7 @@ Name: policycoreutils Version: 3.1 -Release: 7 +Release: 8 Summary: Policy core utilities of selinux License: GPLv2 URL: https://github.com/SELinuxProject @@ -112,6 +112,7 @@ This contains man files for the using of selinux. %autopatch -p1 %build +%set_build_flags export PYTHON=%{__python3} make -C policycoreutils-3.1 LSPP_PRIV=y SBINDIR="%{_sbindir}" LIBDIR="%{_libdir}" SEMODULE_PATH="%{_sbindir}" LIBSEPOLA="%{_libdir}/libsepol.a" all @@ -266,6 +267,9 @@ find %{buildroot}%{python3_sitelib} %{buildroot}%{python3_sitearch} \ %{_mandir}/* %changelog +* Tue Sep 7 2021 yangzhuangzhuang - 3.1-8 +- add "%%set_build_flags" for security build flags + * Fri Jun 4 2021 panxiaohe - 3.1-7 - add gcc to BuildRequires - fix fixfiles -N date function -- Gitee