diff --git a/cm.spec b/cm.spec index 54fe599..97f8167 100644 --- a/cm.spec +++ b/cm.spec @@ -94,7 +94,10 @@ This subpackage provides the development headers for it. rm -f "%buildroot/%_libdir"/*.la %check -%make_build check +if ! %make_build check; then + cat tests/test-suite.log + exit 1 +fi %post -n libcm1 -p /sbin/ldconfig %postun -n libcm1 -p /sbin/ldconfig