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

(cherry picked from commit 46ddf983b7dabcd87d2c9feb23fb0d14959955f4)
This commit is contained in:
李恬 2024-12-13 08:27:47 +00:00 committed by openeuler-sync-bot
parent d14d5e7f2b
commit d7dc1c4a6a

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