!16 add make check in spec

From: @znzjugod 
Reviewed-by: @ziyangc 
Signed-off-by: @ziyangc
This commit is contained in:
openeuler-ci-bot 2023-02-18 03:29:42 +00:00 committed by Gitee
commit 3ec8dbfb38
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: lz4 Name: lz4
Version: 1.9.2 Version: 1.9.2
Release: 3 Release: 4
Summary: Extremely fast compression algorithm Summary: Extremely fast compression algorithm
License: GPLv2+ and BSD License: GPLv2+ and BSD
@ -44,6 +44,9 @@ export MOREFLAGS="-g"
%install %install
%make_install LIBDIR=%{_libdir} PREFIX=%{_prefix} %make_install LIBDIR=%{_libdir} PREFIX=%{_prefix}
%check
make check
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
@ -69,6 +72,9 @@ export MOREFLAGS="-g"
%{_mandir}/man1/unlz4.1* %{_mandir}/man1/unlz4.1*
%changelog %changelog
* Thu Feb 16 2023 zhangnan <zhangnan134@huawei.com> - 1.9.2-4
- add make check in spec
* Sat Jun 19 2021 shixuantong <shixuantong@huawei.com> - 1.9.2-3 * Sat Jun 19 2021 shixuantong <shixuantong@huawei.com> - 1.9.2-3
- fix CVE-2021-3520 - fix CVE-2021-3520