Do not delete tests/x509 on RHEL

tests/x509 now provides imports used by tests in other directories,
and no longer require pytz.
This commit is contained in:
Yaakov Selkowitz 2025-03-03 23:22:02 -05:00
commit 25b75b110c

View file

@ -115,7 +115,7 @@ find . -name Cargo.toml -print -delete
%if %{with tests}
%if 0%{?rhel}
# skip benchmark, hypothesis, and pytz tests on RHEL
rm -rf tests/bench tests/hypothesis tests/x509
rm -rf tests/bench tests/hypothesis
# append skipper to skip iso8601 and pretend tests
cat < %{SOURCE2} >> tests/conftest.py
%endif