Fix the deprecated %patch macros

This commit is contained in:
Lukas Javorsky 2023-08-22 10:18:18 +00:00
parent d1d9a0b305
commit eb01ebe050

View File

@ -84,17 +84,17 @@ developing applications which use minizip.
%prep
%setup -q
%patch0 -p1 -b .fixuncrypt
%patch2 -p1
%patch18 -p1
%patch19 -p1
%patch20 -p1
%patch22 -p1
%patch23 -p1
%patch -P0 -p1 -b .fixuncrypt
%patch -P2 -p1
%patch -P18 -p1
%patch -P19 -p1
%patch -P20 -p1
%patch -P22 -p1
%patch -P23 -p1
# Patch19 conflicts with Patch1, so the Patch1 has to be applied after,
# because it is arch specific
%ifarch s390 s390x
%patch1 -p1 -b .optimized-deflate
%patch -P1 -p1 -b .optimized-deflate
%endif