Use new %patch macro

instead of %patchN, as advised by warning:

%patchN is deprecated (11 usages found), use %patch N (or %patch -P N)
This commit is contained in:
Pavel Valena 2023-05-03 11:11:42 +02:00
parent 9e39fd242a
commit da8822cd33

View File

@ -635,17 +635,17 @@ analysis result in RBS format, a standard type description format for Ruby
%prep %prep
%setup -q -n %{ruby_archive} %setup -q -n %{ruby_archive}
%patch0 -p1 %patch 0 -p1
%patch1 -p1 %patch 1 -p1
%patch2 -p1 %patch 2 -p1
%patch3 -p1 %patch 3 -p1
%patch4 -p1 %patch 4 -p1
%patch6 -p1 %patch 6 -p1
%patch7 -p1 %patch 7 -p1
%patch8 -p1 %patch 8 -p1
%patch9 -p1 %patch 9 -p1
%patch10 -p1 %patch 10 -p1
%patch11 -p1 %patch 11 -p1
# Provide an example of usage of the tapset: # Provide an example of usage of the tapset:
cp -a %{SOURCE3} . cp -a %{SOURCE3} .