Skip tests on EL7

This commit is contained in:
Daniel Berteaud 2022-03-04 10:43:27 +01:00
parent f3c05032ef
commit da8f39855e
1 changed files with 3 additions and 0 deletions

View File

@ -64,7 +64,10 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
# Tests fail on EL7
%if 0%{?rhel} >= 8
make test
%endif
%clean
rm -rf $RPM_BUILD_ROOT