From ac3f78508d7eba620e6b5686a9768585b739e0a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Mon, 16 Dec 2024 15:13:29 +0800 Subject: [PATCH] fix build warnings: patchN is deprecated, use patch N (or %patch -P N) --- iftop.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/iftop.spec b/iftop.spec index c366d30..e630372 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 -- Gitee