!7 [sync] PR-4: 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:48:13 +00:00 committed by Gitee
commit b7c148b1d5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: glassfish-fastinfoset
Version: 1.2.15
Release: 1
Release: 2
Summary: Fast Infoset
License: ASL 2.0
URL: https://fi.java.net
@ -35,7 +35,7 @@ rm -rf xml-data.zip.REMOVED.git-id
mv code/* ./
rm -rf code
%patch0 -p1
%patch 0 -p1
%pom_xpath_remove "pom:build/pom:extensions"
%pom_remove_plugin :findbugs-maven-plugin
%pom_remove_plugin :maven-antrun-extended-plugin
@ -65,6 +65,9 @@ rm -rf fastinfoset/src/main/java/module-info.java
%doc copyright.txt LICENSE README.md
%changelog
* Fri Dec 13 2024 litian <dev11105@linx-info.com> - 1.2.15-2
- fix %patchN is deprecated warning
* Tue Jul 11 2023 Ge Wang <wang__ge@126.com> - 1.2.15-1
- Update to version 1.2.15