fix %patchN is deprecated warning

(cherry picked from commit 0c72548bf63493ce9b424c1dcc3283625639bbee)
This commit is contained in:
yuqiuli 2024-12-13 10:00:19 +00:00 committed by openeuler-sync-bot
parent 8484bc1640
commit d08f58c1c5

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