From ca961dae53fcf4b35f550d922501c962a21f7258 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E4=BB=B2=E4=BC=9F?= Date: Wed, 4 Dec 2024 16:33:22 +0800 Subject: [PATCH] fix: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) (cherry picked from commit dd3a2d33d6b9bf1d4bb022531b296d2297b14fca) --- greatsql.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/greatsql.spec b/greatsql.spec index 53608ca..eb7945b 100644 --- a/greatsql.spec +++ b/greatsql.spec @@ -32,7 +32,7 @@ %global greatsql_version 26 %global revision a68b3034c3d %global tokudb_backup_version %{mysql_version}-%{greatsql_version} -%global rpm_release 4 +%global rpm_release 5 %global release %{greatsql_version}.%{rpm_release}%{?dist} @@ -401,8 +401,8 @@ cat %{SOURCE201} %{SOURCE202} > %{SOURCE10} cat %{SOURCE101} %{SOURCE102} %{SOURCE103} %{SOURCE104} %{SOURCE105} %{SOURCE106} %{SOURCE107} %{SOURCE108} %{SOURCE109} %{SOURCE110} > %{SOURCE0} %setup -q -T -a 0 -a 10 -c -n %{src_dir} pushd %{src_dir} -%patch0 -p0 -%patch1 -p1 +%patch 0 -p0 +%patch 1 -p1 cp %{SOURCE11} scripts %build @@ -1361,6 +1361,9 @@ fi %{_libdir}/mysql/private/icudt69l/brkitr %changelog +* Wed Dec 04 2024 shenzhongwei - 8.0.32-26.5 +- fix: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) + * Wed Dec 04 2024 Funda Wang - 8.0.32-26.4 - use conflicts rather than obsoletes for mysql and mariadb sub packages -- Gitee