update unzip.spec.

Signed-off-by: znzjugod <zhangnan134@huawei.com>
This commit is contained in:
znzjugod 2023-02-16 11:28:59 +00:00 committed by Gitee
parent 5e60885a39
commit cdd873b12f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: unzip Name: unzip
Version: 6.0 Version: 6.0
Release: 47 Release: 48
Summary: A utility for unpacking zip files Summary: A utility for unpacking zip files
License: BSD License: BSD
URL: http://www.info-zip.org/UnZip.html URL: http://www.info-zip.org/UnZip.html
@ -63,6 +63,9 @@ Package help includes man pages for unzip.
%install %install
%make_install -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 INSTALL="cp -p" %make_install -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 INSTALL="cp -p"
%check
make check -f unix/Makefile
%files %files
%license LICENSE COPYING.OLD %license LICENSE COPYING.OLD
%doc README BUGS %doc README BUGS
@ -72,6 +75,9 @@ Package help includes man pages for unzip.
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Thu Feb 16 2023 zhangnan <zhangnan134@huawei.com> - 6.0-48
- add make check in spec
* Tue Sep 6 2022 dongyuzhen <dongyuzhen@h-partners.com> - 6.0-47 * Tue Sep 6 2022 dongyuzhen <dongyuzhen@h-partners.com> - 6.0-47
- fix CVE-2021-4217 - fix CVE-2021-4217