add debuginfo package and make ELF files stripped
This commit is contained in:
parent
2f3f89624a
commit
382c6b9803
10
setools.spec
10
setools.spec
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user