change patching method

Signed-off-by: ZhouPengcheng <zhoupengcheng11@huawei.com>
This commit is contained in:
ZhouPengcheng 2022-12-30 03:53:36 +00:00 committed by Gitee
parent a6958930bd
commit 9cf54e8746
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -55,12 +55,7 @@ This package contains the development-related content related to minizip.
%prep %prep
%setup -n %{name}-%{version} %setup -n %{name}-%{version}
%patch6000 -p1 %autosetup -b 0 -n %{name}-%{version} -p1
%patch6001 -p1
%ifarch aarch64
%patch9000 -p1
%patch9001 -p1
%endif
%build %build
export CFLAGS="$RPM_OPT_FLAGS" export CFLAGS="$RPM_OPT_FLAGS"