!14 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:34 +00:00 committed by Gitee
commit 8e40d78a05
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: lz4
Version: 1.9.4
Release: 1
Release: 2
Summary: Extremely fast compression algorithm
License: GPLv2+ and BSD
@ -42,6 +42,9 @@ export MOREFLAGS="-g -D_FORTIFY_SOURCE=2 -O2"
%install
%make_install LIBDIR=%{_libdir} PREFIX=%{_prefix}
%check
make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@ -67,6 +70,9 @@ export MOREFLAGS="-g -D_FORTIFY_SOURCE=2 -O2"
%{_mandir}/man1/unlz4.1*
%changelog
* Thu Feb 16 2023 zhangnan <zhangnan134@huawei.com> - 1.9.4-2
- add make check in spec
* Thu Jan 19 2023 Lv Ying <lvying6@huawei.com> - 1.9.4-1
- upgrade to 1.9.4-1