From d46a88a9fa13af8220f579481c7a65c6e21fceec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Mon, 16 Dec 2024 17:15:46 +0800 Subject: [PATCH] fix build warnings: patchN is deprecated, use patch N (or %patch -P N) (cherry picked from commit 578734ea805085467d9595c81538e6a374f42453) --- isorelax.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/isorelax.spec b/isorelax.spec index 5fbeb0f..7c5820e 100644 --- a/isorelax.spec +++ b/isorelax.spec @@ -4,7 +4,7 @@ Summary: Public interfaces for RELAX Core URL: http://iso-relax.sourceforge.net/ Epoch: 1 Version: 0 -Release: 1 +Release: 2 License: MIT and ASL 1.1 BuildArch: noarch Source0: https://apt.linuxfans.org/magic/3.0/sources/SOURCES.i/isorelax/%{name}-%{cvstag}-src.tar.bz2 @@ -26,7 +26,7 @@ Summary: API documentation for %{name} %setup -q -n %{name}-%{cvstag}-src find -name "*.jar" -delete ln -s %{_javadir}/ant.jar lib/ -%patch0 -p0 +%patch 0 -p0 cp %{SOURCE1} . %build @@ -44,5 +44,8 @@ ant release %license license.txt %changelog +* Mon Dec 16 2024 litian - 1:0-2 +- fix %patchN is deprecated warning + * Thu Jul 23 2020 yanan li - 0-1 - Package init -- Gitee