add debuginfo package and make ELF files stripped

This commit is contained in:
panxiaohe 2021-03-24 14:32:13 +08:00
parent 2f3f89624a
commit 382c6b9803

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