Add '--without check' option
Version: 3.3.1-1
This commit is contained in:
parent
b04ac1766f
commit
b0f1ff0a63
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user