From 369625f5b5c3de7c07b788d61a6850df079ff716 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Mon, 16 Dec 2024 14:48:06 +0800 Subject: [PATCH] fix build warnings: patchN is deprecated, use patch N (or %patch -P N) --- hsqldb1.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hsqldb1.spec b/hsqldb1.spec index 2693333..2c8e474 100644 --- a/hsqldb1.spec +++ b/hsqldb1.spec @@ -2,7 +2,7 @@ %global majorversion 1 Name: hsqldb1 Version: 1.8.1.3 -Release: 3 +Release: 4 Summary: HyperSQL Database Engine License: BSD-3-Clause URL: http://hsqldb.sourceforge.net/ @@ -45,8 +45,8 @@ find . -name "*.jar" -exec rm -f {} \; find . -name "*.class" -exec rm -f {} \; find . -name "*.war" -exec rm -f {} \; chmod -R go=u-w * -%patch0 -p1 -%patch1 -p1 +%patch 0 -p1 +%patch 1 -p1 cp %{SOURCE1} ./pom.xml %mvn_file hsqldb:hsqldb %{name} %mvn_compat_version : %{majorversion} @@ -68,6 +68,9 @@ popd %license doc/hsqldb_lic.txt %changelog +* Mon Dec 16 2024 litian - 1.8.1.3-4 +- fix %patchN is deprecated warning + * Wed Dec 13 2023 wangkai <13474090681@163.com> - 1.8.1.3-3 - Fix CVE-2022-41853 -- Gitee