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

Signed-off-by: 李恬 <dev11105@linx-info.com>
(cherry picked from commit 89b5b913b37b2a591b0139a98c4032e9969b4d65)
This commit is contained in:
李恬 2024-12-13 08:24:58 +00:00 committed by openeuler-sync-bot
parent 3efb8b76c6
commit 8d569fb0c8

View File

@ -1,6 +1,6 @@
Name: glassfish-ejb-api
Version: 3.2.2
Release: 2
Release: 3
Summary: Java EJB 3.2 API Design Specification
License: CDDL-1.1 or GPLv2 with exceptions
URL: https://java.net/projects/ejb-spec/
@ -25,7 +25,7 @@ This package contains javadoc for %{name}.
%prep
%setup -q -n javax.ejb-%{version}
cp %{SOURCE1} ./
%patch0 -p1
%patch 0 -p1
%pom_remove_plugin :findbugs-maven-plugin
%pom_remove_plugin :glassfishbuild-maven-plugin
%pom_remove_plugin :maven-site-plugin
@ -52,6 +52,9 @@ cp %{SOURCE1} ./
%license LICENSE
%changelog
* Fri Dec 13 2024 litian <dev11105@linx-info.com> - 3.2.2-3
- fix %patchN is deprecated warning
* Tue Jan 16 2024 yaoxin <yao_xin001@hoperun.com> - 3.2.2-2
- License compliance rectification