From 93e9c84925a737a4f47847703a670fddac6660b8 Mon Sep 17 00:00:00 2001 From: Chen Hao Date: Fri, 13 Dec 2024 18:48:14 +0000 Subject: [PATCH] fix build warnings:patchN is deprecated, use patch N (or %patch -P N ) Signed-off-by: Chen Hao --- apache-poi.spec | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/apache-poi.spec b/apache-poi.spec index 5be94f1..3ee2fa9 100644 --- a/apache-poi.spec +++ b/apache-poi.spec @@ -1,7 +1,7 @@ %global reldate 20170915 Name: apache-poi Version: 3.17 -Release: 6 +Release: 7 Summary: The Java API for Microsoft Documents License: Apache-2.0 and GPL-3.0-only URL: http://poi.apache.org/ @@ -62,9 +62,9 @@ This package contains the API documentation for %{name}. %prep %setup -q -n poi-%{version} -%patch1 -%patch2 -%patch3 -p1 +%patch 1 +%patch 2 +%patch 3 -p1 find -name '*.class' -delete find -name '*.jar' -delete mkdir lib ooxml-lib @@ -140,6 +140,9 @@ done %license LICENSE NOTICE %changelog +* Fri Dec 13 2024 chenhao - 3.17-7 +- Fix %patchN is deprecated warning + * Mon Jun 3 2024 laokz - 3.17-6 - riscv64: fix OOM build failure -- Gitee