!23 add debuginfo package and make ELF files stripped

From: @panxh_purple
Reviewed-by: @zhujianwei001
Signed-off-by: @zhujianwei001
This commit is contained in:
openeuler-ci-bot 2021-03-24 19:18:06 +08:00 committed by Gitee
commit 6721b44c69

View File

@ -1,7 +1,6 @@
%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,11 +66,9 @@ Gui packages for setools.
%autosetup -n setools-%{version} -p1
%build
%{__python3} setup.py build
%py3_build
%install
rm -rf %{buildroot}%{_bindir}
%{__python3} setup.py install --root %{buildroot}
%py3_install
%check
@ -111,6 +108,9 @@ rm -rf %{buildroot}%{_bindir}
%{_mandir}/ru/man1/*
%changelog
* Wed Mar 23 2021 panxiaohe <panxiaohe@huawei.com> - 4.3.0-5
- add debuginfo package and make ELF files stripped
* Tue Dec 1 2020 Liquor <lirui130@huawei.com> - 4.3.0-4
- add the necessary version dependencies