!6 [sync] PR-4: 【openEuler-22.09】修复strip安全编译选项风险

From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-12-07 07:28:15 +00:00 committed by Gitee
commit 98b61e59fa
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,8 +1,6 @@
%define debug_package %{nil}
Name: nethogs Name: nethogs
Version: 0.8.6 Version: 0.8.6
Release: 1 Release: 2
Summary: Nethogs is a small 'net top' tool Summary: Nethogs is a small 'net top' tool
License: GPLv2+ License: GPLv2+
URL: https://github.com/raboof/nethogs/ URL: https://github.com/raboof/nethogs/
@ -20,6 +18,7 @@ ddenly taking up your bandwidth.
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
export CFLAGS="${RPM_OPT_FLAGS}"
%make_build %make_build
%install %install
@ -35,5 +34,8 @@ ddenly taking up your bandwidth.
%{_mandir}/../../local/share/man/man8/nethogs.8* %{_mandir}/../../local/share/man/man8/nethogs.8*
%changelog %changelog
* Tue Aug 23 2022 wulei <wulei80@h-partners.com> 0.8.6-2
- Fix binary /usr/local/sbin/nethogs not striped problem
* Wed Nov 4 2020 zengwefeng<zwfeng@huawei.com> - 0.8.6-1 * Wed Nov 4 2020 zengwefeng<zwfeng@huawei.com> - 0.8.6-1
- Package init - Package init