From c07a43eceb49215bb2ed4c7bdc9f353b42798303 Mon Sep 17 00:00:00 2001 From: Yangyang Shen Date: Sat, 20 Mar 2021 19:33:35 +0800 Subject: [PATCH] Add strip secure compile for setools --- setools.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/setools.spec b/setools.spec index 9a3285b..f131b2b 100644 --- a/setools.spec +++ b/setools.spec @@ -1,7 +1,7 @@ %global debug_package %{nil} Name: setools Version: 4.3.0 -Release: 4 +Release: 5 Summary: Policy Analysis Tools for SELinux License: GPLv2 URL: https://github.com/SELinuxProject/setools/wiki @@ -67,7 +67,8 @@ Gui packages for setools. %autosetup -n setools-%{version} -p1 %build -%{__python3} setup.py build +CFLAGS="$RPM_OPT_FLAGS -s" +%py3_build %install rm -rf %{buildroot}%{_bindir} @@ -111,6 +112,9 @@ rm -rf %{buildroot}%{_bindir} %{_mandir}/ru/man1/* %changelog +* Sat Mar 20 2021 shenyangyang - 4.3.0-5 +- Add strip secure compile for setools + * Tue Dec 1 2020 Liquor - 4.3.0-4 - add the necessary version dependencies -- Gitee