add "%%set_build_flags" foe security build flags
This commit is contained in:
parent
7b74690f33
commit
50e5f241cc
@ -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 <yangzhuangzhuang1@huawei.com> - 3.1-8
|
||||
- add "%%set_build_flags" for security build flags
|
||||
|
||||
* Fri Jun 4 2021 panxiaohe <panxiaohe@huawei.com> - 3.1-7
|
||||
- add gcc to BuildRequires
|
||||
- fix fixfiles -N date function
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user