diff --git a/stunnel.spec b/stunnel.spec index fc847ae..b2a3fd4 100644 --- a/stunnel.spec +++ b/stunnel.spec @@ -100,7 +100,13 @@ cp %{SOURCE7} %{buildroot}%{_unitdir}/%{name}@.service %endif %check -make test || (for i in tests/logs/*.log ; do echo "$i": ; cat "$i" ; done) +if ! make test; then + for i in tests/logs/*.log; do + echo "$i": + cat "$i" + done + exit 1 +fi %files %{!?_licensedir:%global license %%doc} @@ -139,6 +145,8 @@ make test || (for i in tests/logs/*.log ; do echo "$i": ; cat "$i" ; done) * Fri Feb 04 2022 Clemens Lang - 5.62-2 - Fix stunnel in FIPS mode Resolves: rhbz#2050617 +- Fail build if tests fail + Resolves: rhbz#2051083 * Tue Jan 18 2022 Clemens Lang - 5.62-1 - New upstream release 5.62