diff --git a/policycoreutils.spec b/policycoreutils.spec index d000e6e532c129acebf5a3c6fd192cc70d54cdf1..51b7e704fe77779289ba3adc25f84bb9753f20f6 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