From d2cda84ecf1d02dc0ef36048e487dc4d364cccc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Mon, 16 Dec 2024 14:40:40 +0800 Subject: [PATCH] fix build warnings: patchN is deprecated, use patch N (or %patch -P N) --- hping.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hping.spec b/hping.spec index c5e0b56..b95f963 100644 --- a/hping.spec +++ b/hping.spec @@ -1,6 +1,6 @@ Name: hping Version: 20200503 -Release: 4 +Release: 5 Summary: hping is a command-line oriented TCP/IP packet assembler/analyzer License: GPLv2 URL: http://www.hping.org/ @@ -16,8 +16,8 @@ hping is a command-line oriented TCP/IP packet assembler/analyzer. The interface %prep %setup -q -n %{name}-master/ -%patch0 -p1 -%patch1 -p1 +%patch 0 -p1 +%patch 1 -p1 %build %configure @@ -45,6 +45,9 @@ install -m0644 docs/hping3.8 %{buildroot}/%{_mandir}/man8 %{_mandir}/* %changelog +* Mon Dec 16 2024 litian - 20200503-5 +- fix %patchN is deprecated warning + * Thu Sep 9 2021 Pengju Jiang - solve the problem of safe compilation strip -- Gitee