!3 [sync] PR-2: fix build warnings: patchN is deprecated, use patch N (or %patch -P N)

From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen, @cherry530 
Signed-off-by: @dillon_chen, @cherry530
This commit is contained in:
openeuler-ci-bot 2025-03-31 08:14:40 +00:00 committed by Gitee
commit 9fec391bff
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <dev11105@linx-info.com> - 1:0-2
- fix %patchN is deprecated warning
* Thu Jul 23 2020 yanan li <liyanan032@huawei.com> - 0-1
- Package init