make the test in all archtectures

This commit is contained in:
zhangxiao 2021-11-15 14:27:05 +08:00
parent daae46f106
commit e794b789ab

View File

@ -2,7 +2,7 @@
Name: zstd Name: zstd
Version: 1.5.0 Version: 1.5.0
Release: 4 Release: 5
Summary: A fast lossless compression algorithm Summary: A fast lossless compression algorithm
License: BSD and GPLv2 License: BSD and GPLv2
URL: https://github.com/facebook/zstd URL: https://github.com/facebook/zstd
@ -51,9 +51,7 @@ done
%endif %endif
%check %check
%ifarch %{arm}
make -C tests test-zstd make -C tests test-zstd
%endif
%if %{with pzstd} %if %{with pzstd}
make -C contrib/pzstd test CXXFLAGS="$RPM_OPT_FLAGS -std=c++11" make -C contrib/pzstd test CXXFLAGS="$RPM_OPT_FLAGS -std=c++11"
%endif %endif
@ -90,6 +88,9 @@ install -D -m644 programs/zstd.1 %{buildroot}%{_mandir}/man1/pzstd.1
%{_mandir}/man1/*.1* %{_mandir}/man1/*.1*
%changelog %changelog
* Mon Nov 15 2021 zhangxiao <zhangxiao131@huawei.com> - 1.5.0.5
* make the test in all archtectures
* Mon Nov 08 2021 zhangying <zhangying103@huawei.com> - 1.5.0-4 * Mon Nov 08 2021 zhangying <zhangying103@huawei.com> - 1.5.0-4
* remove invalid test * remove invalid test