!6 [sync] PR-3: fix %patchN is deprecated warning

From: @openeuler-sync-bot 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
This commit is contained in:
openeuler-ci-bot 2024-12-17 06:54:25 +00:00 committed by Gitee
commit cdec59bb2d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -4,7 +4,7 @@
Name: unizip
Version: 0.0.3
Release: 1
Release: 2
Summary: unizip is a unified compression library that encapsulates zlib, snappy, lz4 and other compression algorithms into a unified interface.
License: MulanPSL-2.0
@ -35,7 +35,7 @@ with %{name}.
%prep
%setup -q -c -T -n %{name}-%{version} -a 0
%patch0 -p1 -d %{name}-v%{version}
%patch 0 -p1 -d %{name}-v%{version}
%setup -q -c -T -n lzma2200 -a 1
%build
@ -71,5 +71,8 @@ popd
%{_libdir}/*.a
%changelog
* Fri Dec 13 2024 yuqiuli <dev11302@linx-info.com> - 0.0.3-2
- fix %patchN is deprecated warning
* Tue Mar 28 2023 huangduirong <huangduirong@huawei.com> - 0.0.3-1
- Package init