Add '--without check' option

Version: 3.3.1-1
This commit is contained in:
Pavel Raiskup 2017-04-18 20:27:00 +02:00
parent b04ac1766f
commit b0f1ff0a63

View File

@ -1,3 +1,5 @@
%bcond_without check
Name: libarchive
Version: 3.3.1
Release: 1%{?dist}
@ -120,6 +122,7 @@ done
%check
%if %{with check}
logfiles ()
{
find -name '*_test.log' -or -name test-suite.log
@ -167,6 +170,7 @@ run_testsuite || run_testsuite
%else
run_testsuite
%endif
%endif
%post -p /sbin/ldconfig