!11 [sync] PR-10: 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 07:02:51 +00:00 committed by Gitee
commit 73f48943e3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: h2
Version: 1.4.196
Release: 4
Release: 5
Summary: Java SQL database
License: (EPL-1.0 or MPLv2.0 or LGPLv3+) and ASL 2.0
URL: http://www.h2database.com
@ -22,7 +22,7 @@ This package contains the API documentation for %{name}.
%prep
%setup -q -n %{name}
%patch0 -p2
%patch 0 -p2
rm src/main/org/h2/util/OsgiDataSourceFactory.java
sed -i -e '/OsgiDataSourceFactory/d' src/main/org/h2/util/DbDriverActivator.java
sed -i -e '/org.osgi.service.jdbc/d' src/main/META-INF/MANIFEST.MF
@ -64,6 +64,9 @@ sh build.sh jar docs
%license src/docsrc/html/license.html
%changelog
* Mon Dec 16 2024 litian <dev11105@linx-info.com> - 1.4.196-5
- fix %patchN is deprecated warning
* Fri Sep 23 2022 caodongxia <caodongxia@h-partners.com> - 1.4.196-4
- Add glassfish-servlet-api version limit