From acc7ab314853787955df021e1381958fc8e526a5a9b4bb6bb81c54f97f9c2fc1 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 22 Feb 2024 16:03:34 +0000 Subject: [PATCH] Accepting request 1149476 from home:dimstar:rpm4.20:n Prepare for RPM 4.20 OBS-URL: https://build.opensuse.org/request/show/1149476 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/ndpi?expand=0&rev=27 --- ndpi.changes | 6 ++++++ ndpi.spec | 5 +---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ndpi.changes b/ndpi.changes index e84590b..f3227bc 100644 --- a/ndpi.changes +++ b/ndpi.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 22 13:56:41 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + %patchN + ------------------------------------------------------------------- Thu Aug 26 16:30:53 UTC 2021 - Dirk Stoecker diff --git a/ndpi.spec b/ndpi.spec index 6d3937e..4831e63 100644 --- a/ndpi.spec +++ b/ndpi.spec @@ -107,10 +107,7 @@ available only on the paid version of OpenDPI. This package contains common files used by nDPI. %prep -%setup -q -n nDPI-%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 +%autosetup -p1 -n nDPI-%{version} %build sh autogen.sh