From eb01ebe050678091ca708d9df2d4257b0b58ee35 Mon Sep 17 00:00:00 2001 From: Lukas Javorsky Date: Tue, 22 Aug 2023 10:18:18 +0000 Subject: [PATCH] Fix the deprecated %patch macros --- zlib.spec | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/zlib.spec b/zlib.spec index cfdb146..b6c8247 100644 --- a/zlib.spec +++ b/zlib.spec @@ -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