From 726e12a17cc38ddb096d35b5b2fafdb4a756b424 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Tue, 17 Dec 2024 11:11:50 +0800 Subject: [PATCH] fix build warnings: %patchN is deprecated, use %patch N (or %patch -P N) --- jersey.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/jersey.spec b/jersey.spec index 4a67644..730e3d8 100644 --- a/jersey.spec +++ b/jersey.spec @@ -1,7 +1,7 @@ %bcond_with jp_minimal Name: jersey Version: 2.29.1 -Release: 3 +Release: 4 Summary: JAX-RS (JSR 311) production quality Reference Implementation License: (EPL-2.0 or GPLv2 with exceptions) and ASL 2.0 URL: https://github.com/eclipse-ee4j/jersey @@ -71,11 +71,11 @@ This package contains javadoc for %{name}. %prep %setup -q -n %{name}-%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 +%patch -P 3 -p1 +%patch -P 4 -p1 find . -name "*.jar" -print -delete find . -name "*.class" -print -delete cp -p %{SOURCE1} . @@ -223,6 +223,9 @@ sed -i -e 's/javax\.activation\.\*;/javax.activation.*;resolution:=optional;/' c %license LICENSE.md NOTICE.md LICENSE-2.0.txt %changelog +* Tue Dec 17 2024 litian - 2.29.1-4 +- fix %patchN is deprecated warning + * Wed Jan 03 2024 wangkai <13474090681@163.com> - 2.29.1-3 - fix CVE-2021-28168 -- Gitee