From 679edd3c7e17668f8da2ccea3c1d003467f28ef7 Mon Sep 17 00:00:00 2001 From: wu-leilei Date: Tue, 23 Aug 2022 14:46:55 +0800 Subject: [PATCH] fix binary /usr/local/sbin/nethogs not striped problem (cherry picked from commit ba1beb30ba1e0f10d22f17997ae41fa38d3c5ada) --- nethogs.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/nethogs.spec b/nethogs.spec index 20e972b..8e042f3 100644 --- a/nethogs.spec +++ b/nethogs.spec @@ -1,8 +1,6 @@ -%define debug_package %{nil} - Name: nethogs Version: 0.8.6 -Release: 1 +Release: 2 Summary: Nethogs is a small 'net top' tool License: GPLv2+ URL: https://github.com/raboof/nethogs/ @@ -20,6 +18,7 @@ ddenly taking up your bandwidth. %autosetup -n %{name}-%{version} -p1 %build +export CFLAGS="${RPM_OPT_FLAGS}" %make_build %install @@ -35,5 +34,8 @@ ddenly taking up your bandwidth. %{_mandir}/../../local/share/man/man8/nethogs.8* %changelog +* Tue Aug 23 2022 wulei 0.8.6-2 +- Fix binary /usr/local/sbin/nethogs not striped problem + * Wed Nov 4 2020 zengwefeng - 0.8.6-1 - Package init -- Gitee