Fix RPM syntax: '%patchN' has been deprecated

https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/VBFDPQHAHF3WG6WBZR2L5GSWMW6CVTJS/

Related: RHEL-22451
This commit is contained in:
Michal Schorm 2023-04-28 16:52:22 +02:00 committed by Honza Horak
parent 79dde6ed57
commit 6e9e3359c6

View File

@ -381,20 +381,20 @@ the MySQL sources.
%prep %prep
%setup -q -n mysql-%{version} %setup -q -n mysql-%{version}
%patch1 -p1 %patch -P1 -p1
%patch3 -p1 %patch -P3 -p1
%patch4 -p1 %patch -P4 -p1
%patch5 -p1 %patch -P5 -p1
%patch51 -p1 %patch -P51 -p1
%patch52 -p1 %patch -P52 -p1
%patch53 -p1 %patch -P53 -p1
%patch54 -p1 %patch -P54 -p1
# Patch Boost # Patch Boost
pushd boost/boost_$(echo %{boost_bundled_version}| tr . _) pushd boost/boost_$(echo %{boost_bundled_version}| tr . _)
%patch111 -p0 %patch -P111 -p0
%patch112 -p1 %patch -P112 -p1
%patch113 -p2 %patch -P113 -p2
popd popd
# generate a list of tests that fail, but are not disabled by upstream # generate a list of tests that fail, but are not disabled by upstream