From af327e3d4fa44f54695716df168e1183728ffc39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Tue, 17 Dec 2024 10:58:20 +0800 Subject: [PATCH] fix build warnings: %patchN is deprecated, use %patch N (or %patch -P N) --- jersey1.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/jersey1.spec b/jersey1.spec index b46e931..1eef8da 100644 --- a/jersey1.spec +++ b/jersey1.spec @@ -1,6 +1,6 @@ Name: jersey1 Version: 1.19 -Release: 2 +Release: 3 Summary: JAX-RS (JSR 311) production quality Reference Implementation License: (CDDL-1.1 or GPLv2 with exceptions) and ASL 2.0 URL: http://jersey.java.net/ @@ -75,12 +75,12 @@ This package contains javadoc for %{name}. %setup -q -n jersey-1.x-%{version} find . -name "*.jar" -print -delete find . -name "*.class" -print -delete -%patch0 -p1 -%patch1 -p1 -%patch2 -p0 -%patch3 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 +%patch -P 2 -p0 +%patch -P 3 -p1 rm -rf jersey-server/src/main/java/jersey/repackaged -%patch4 -p1 +%patch -P 4 -p1 rm -rf jersey-json/src/main/java/com/sun/jersey/json/impl/MoxyXmlStructure.java %pom_remove_dep org.eclipse.persistence: jersey-json rm jersey-json/src/test/java/com/sun/jersey/json/impl/ExceptionFromWriterTest.java \ @@ -256,6 +256,9 @@ install -p -m 644 ant-wadl-task %{buildroot}%{_sysconfdir}/ant.d/ant-wadl-task %license license.html legal/LICENSE.txt legal/maintenance/copyright.txt LICENSE-2.0.txt %changelog +* Tue Dec 17 2024 litian - 1.19-3 +- fix %patchN is deprecated warning + * Mon May 9 2022 baizhonggui - 1.19-2 - modify license identifier -- Gitee