add debuginfo package and make ELF files stripped

This commit is contained in:
panxiaohe 2021-03-24 14:46:50 +08:00
parent b333438124
commit 4d0e1fa9b1

View File

@ -1,7 +1,6 @@
%global debug_package %{nil}
Name: setools
Version: 4.3.0
Release: 3
Release: 4
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-4
- add debuginfo package and make ELF files stripped
* Tue Dec 1 2020 Liquor <lirui130@huawei.com> - 4.3.0-3
- add the necessary version dependencies