diff --git a/iftop.spec b/iftop.spec index c366d309791be7413ce86fc5a18cdf65fa5ff7fb..e6303726371ff4d99fff0121a58d964ec8e1c801 100644 --- a/iftop.spec +++ b/iftop.spec @@ -3,7 +3,7 @@ Summary: Command line tool that displays bandwidth usage on an interface Name: iftop Version: 1.0pre4 -Release: 1 +Release: 2 License: GPLv2+ URL: http://www.ex-parrot.com/~pdw/%{name}/ Source0: http://www.ex-parrot.com/~pdw/%{name}/download/%{name}-%{version}.tar.gz @@ -20,10 +20,10 @@ so slow?". %prep %setup -q -n %{name}-%{version} -%patch0 -p1 -b .ncursesw +%patch 0 -p1 -b .ncursesw touch -c -r configure.ac{.ncursesw,} -%patch1 -p1 -b .git20181003 -%patch2 -p1 -b .gcc10 +%patch 1 -p1 -b .git20181003 +%patch 2 -p1 -b .gcc10 %build %configure @@ -39,5 +39,8 @@ touch -c -r configure.ac{.ncursesw,} %{_mandir}/man8/%{name}.* %changelog +* Mon Dec 16 2024 litian - 1.0pre4-2 +- fix %patchN is deprecated warning + * Fri Mar 19 2021 wangyueliang - 1.0-1 -- package init \ No newline at end of file +- package init