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
|
Name: libarchive
|
||||||
Version: 3.3.1
|
Version: 3.3.1
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
@ -120,6 +122,7 @@ done
|
|||||||
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
%if %{with check}
|
||||||
logfiles ()
|
logfiles ()
|
||||||
{
|
{
|
||||||
find -name '*_test.log' -or -name test-suite.log
|
find -name '*_test.log' -or -name test-suite.log
|
||||||
@ -167,6 +170,7 @@ run_testsuite || run_testsuite
|
|||||||
%else
|
%else
|
||||||
run_testsuite
|
run_testsuite
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
Loading…
Reference in New Issue
Block a user