diff --git a/nethogs.spec b/nethogs.spec index 8e042f3..fd99bc3 100644 --- a/nethogs.spec +++ b/nethogs.spec @@ -1,6 +1,6 @@ Name: nethogs Version: 0.8.6 -Release: 2 +Release: 3 Summary: Nethogs is a small 'net top' tool License: GPLv2+ URL: https://github.com/raboof/nethogs/ @@ -19,6 +19,7 @@ ddenly taking up your bandwidth. %build export CFLAGS="${RPM_OPT_FLAGS}" +export CXXFLAGS="${CXXFLAGS} -fPIE -pie" %make_build %install @@ -34,6 +35,9 @@ export CFLAGS="${RPM_OPT_FLAGS}" %{_mandir}/../../local/share/man/man8/nethogs.8* %changelog +* Mon Jun 05 2023 chenchen - 0.8.6-3 +- add PIE compiler options + * Tue Aug 23 2022 wulei 0.8.6-2 - Fix binary /usr/local/sbin/nethogs not striped problem