From 051d29c993299a40a6ce7d51db9570ff5fcc68be Mon Sep 17 00:00:00 2001 From: Michal Schorm Date: Fri, 28 Apr 2023 16:52:22 +0200 Subject: [PATCH] Fix RPM syntax: '%patchN' has been deprecated https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/VBFDPQHAHF3WG6WBZR2L5GSWMW6CVTJS/ --- community-mysql.spec | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/community-mysql.spec b/community-mysql.spec index a6c7157..041d053 100644 --- a/community-mysql.spec +++ b/community-mysql.spec @@ -380,20 +380,20 @@ the MySQL sources. %prep %setup -q -n mysql-%{version} -%patch1 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch51 -p1 -%patch52 -p1 -%patch53 -p1 -%patch54 -p1 +%patch -P1 -p1 +%patch -P3 -p1 +%patch -P4 -p1 +%patch -P5 -p1 +%patch -P51 -p1 +%patch -P52 -p1 +%patch -P53 -p1 +%patch -P54 -p1 # Patch Boost pushd boost/boost_$(echo %{boost_bundled_version}| tr . _) -%patch111 -p0 -%patch112 -p1 -%patch113 -p2 +%patch -P111 -p0 +%patch -P112 -p1 +%patch -P113 -p2 popd