update iftop.spec.

This commit is contained in:
wangyueliang 2021-03-24 09:45:16 +08:00 committed by Gitee
parent 690cfc5b05
commit e8a9fb860a

View File

@ -6,7 +6,7 @@ Version: 1.0pre4
Release: 1 Release: 1
License: GPLv2+ License: GPLv2+
URL: http://www.ex-parrot.com/~pdw/%{name}/ URL: http://www.ex-parrot.com/~pdw/%{name}/
Source0: http://www.ex-parrot.com/~pdw/%{name}/download/%{name}-%{version}pre4.tar.gz Source0: http://www.ex-parrot.com/~pdw/%{name}/download/%{name}-%{version}.tar.gz
Patch0: iftop-1.0-ncursesw.patch Patch0: iftop-1.0-ncursesw.patch
Patch1: iftop-1.0-git20181003.patch Patch1: iftop-1.0-git20181003.patch
Patch2: iftop-1.0-gcc10.patch Patch2: iftop-1.0-gcc10.patch
@ -19,7 +19,7 @@ usage by pairs of hosts. Handy for answering the question "why is our ADSL link
so slow?". so slow?".
%prep %prep
%setup -q -n %{name}-%{version}pre4 %setup -q -n %{name}-%{version}
%patch0 -p1 -b .ncursesw %patch0 -p1 -b .ncursesw
touch -c -r configure.ac{.ncursesw,} touch -c -r configure.ac{.ncursesw,}
%patch1 -p1 -b .git20181003 %patch1 -p1 -b .git20181003