From c3d50eb508a2979c320a7172055ef64c90b8c6b2 Mon Sep 17 00:00:00 2001 From: yuqiuli Date: Tue, 17 Dec 2024 06:53:29 +0000 Subject: [PATCH] fix %patchN is deprecated warning --- tidb.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/tidb.spec b/tidb.spec index 75481e0..74cf6ff 100644 --- a/tidb.spec +++ b/tidb.spec @@ -1,6 +1,6 @@ Name: tidb Version: 4.0.14 -Release: 4 +Release: 5 Summary: TiDB is a distributed NewSQL database compatible with MySQL protocol License: Apache 2.0 @@ -26,11 +26,11 @@ TiDB is a distributed NewSQL database compatible with MySQL protocol %prep %ifarch riscv64 %setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 +%patch -P 0 -p1 +%patch -P 1 -p1 +%patch -P 2 -p1 tar xvf %{SOURCE3} -C . -%patch3 +%patch -P 3 %else %autosetup -p1 tar xvf %{SOURCE3} -C . @@ -83,6 +83,9 @@ exit 0 %license LICENSE %changelog +* Tue Dec 17 2024 yuqiuli - 4.0.14-5 +- fix %patchN is deprecated warning + * Mon Jul 17 2023 zhangxiang - 4.0.14-4 - add riscv64 support -- Gitee