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

From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-12-17 06:29:04 +00:00 committed by Gitee
commit cd72cb1187
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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