From 2c5d335dc6f236cccb1adf7a3c432eecfb7dc23e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Mon, 16 Dec 2024 02:58:26 +0000 Subject: [PATCH] =?UTF-8?q?fix=20build=20warnings:=20patchN=20is=20depreca?= =?UTF-8?q?ted,=20use=20patch=20N=20(or=20%patch=20-P=20N)=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E7=BC=96=E8=AF=91=E8=BF=87=E7=A8=8B=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E8=AD=A6=E5=91=8A=E4=BF=A1=E6=81=AF=EF=BC=9A%patchN=20is=20dep?= =?UTF-8?q?recated,=20use=20%patch=20N=20(or=20%patch=20-P=20N)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hibernate4.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/hibernate4.spec b/hibernate4.spec index 904cd6e..615b474 100644 --- a/hibernate4.spec +++ b/hibernate4.spec @@ -3,7 +3,7 @@ %global pom_url http://repo1.maven.org/maven2/org/hibernate Name: hibernate4 Version: 4.3.11 -Release: 4 +Release: 5 Summary: Relational persistence and query service License: LGPLv2+ and ASL 2.0 URL: http://www.hibernate.org/ @@ -126,10 +126,10 @@ This package contains javadoc for %{name}. find . -name "*.jar" -delete find . -name "*.class" -delete rm -r documentation/* -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 +%patch 0 -p1 +%patch 1 -p1 +%patch 2 -p1 +%patch 3 -p1 cp -p %{SOURCE1} hibernate-c3p0/pom.xml cp -p %{SOURCE2} hibernate-core/pom.xml cp -p %{SOURCE3} hibernate-ehcache/pom.xml @@ -379,6 +379,9 @@ export JAVA_TOOL_OPTIONS="-Xmx4096m" %license lgpl.txt LICENSE-2.0.txt %changelog +* Mon Dec 16 2024 litian - 4.3.11-5 +- fix %patchN is deprecated warning + * Wed Apr 10 2024 Dingli Zhang - 4.3.11-4 - Add -Xmx4096m for riscv64 -- Gitee