From dd1918f08c6a18c708ab9af4bd5c696504021e9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E6=81=AC?= Date: Mon, 16 Dec 2024 14:53:45 +0800 Subject: [PATCH] fix build warnings: patchN is deprecated, use patch N (or %patch -P N) --- icu4j.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/icu4j.spec b/icu4j.spec index d1761ec..3449f9c 100644 --- a/icu4j.spec +++ b/icu4j.spec @@ -2,7 +2,7 @@ %global srctgz %(v=%{version}; echo "icu4j-$v" | sed 's/\\./_/') Name: icu4j Version: 73.2 -Release: 1 +Release: 2 Epoch: 1 Summary: International Components for Unicode for Java License: Unicode-DFS-2016 AND MIT AND BSD-3-Clause AND BSD-2-Clause AND Public Domain @@ -47,8 +47,8 @@ API documentation for %{name}. %prep %setup -q -c -%patch0 -p0 -%patch1 -p0 +%patch 0 -p0 +%patch 1 -p0 sed -i -e 's/junit-4.12/junit-SYSTEM/' \ -e 's/hamcrest-core-1.3/hamcrest-core-SYSTEM/' build.xml sed -i -e '/pl.pragmatists/d' ivy.xml @@ -92,6 +92,9 @@ install -m 644 icu4j-localespi.jar %{buildroot}%{_javadir}/icu4j/ %license main/shared/licenses/* %changelog +* Mon Dec 16 2024 litian - 1:73.2-2 +- fix %patchN is deprecated warning + * Fri May 31 2024 yaoxin - 1:73.2-1 - Upgrade to 73.2 -- Gitee