fix build warnings: patchN is deprecated, use patch N (or %patch -P N)

(cherry picked from commit 578734ea805085467d9595c81538e6a374f42453)
This commit is contained in:
李恬 2024-12-16 17:15:46 +08:00 committed by openeuler-sync-bot
parent 2c12f72a00
commit d46a88a9fa

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