Fix RHEL build
Some tests fail in RHEL/ELN due to use of SHA-1.
This commit is contained in:
parent
0936af649d
commit
1f6d192c81
@ -89,6 +89,10 @@ touch %{buildroot}%{_mandir}/man1/{Mail,mail,mailx,nail}.1
|
||||
|
||||
|
||||
%check
|
||||
%if %{defined rhel}
|
||||
# SHA-1 is disabled as insecure by RHEL default policies, but used in tests
|
||||
export OPENSSL_ENABLE_SHA1_SIGNATURES=yes
|
||||
%endif
|
||||
make test
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user