From 9cf54e87460c1019378a7237d861fa2af2005918 Mon Sep 17 00:00:00 2001 From: ZhouPengcheng Date: Fri, 30 Dec 2022 03:53:36 +0000 Subject: [PATCH] change patching method Signed-off-by: ZhouPengcheng --- zlib.spec | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/zlib.spec b/zlib.spec index 3fe8135..70d5c15 100644 --- a/zlib.spec +++ b/zlib.spec @@ -55,12 +55,7 @@ This package contains the development-related content related to minizip. %prep %setup -n %{name}-%{version} -%patch6000 -p1 -%patch6001 -p1 -%ifarch aarch64 -%patch9000 -p1 -%patch9001 -p1 -%endif +%autosetup -b 0 -n %{name}-%{version} -p1 %build export CFLAGS="$RPM_OPT_FLAGS"