Fix build with Python 3.12

There are no tests to be run, which now causes an error in unittest.
Instead, check imports as a minimal test per guidelines.
This commit is contained in:
Yaakov Selkowitz 2023-07-06 00:29:04 -04:00
parent b79c14e811
commit a92239f622

View File

@ -43,7 +43,7 @@ Requires: python3-gssapi
%py3_install
%check
%{__python3} -m unittest
%py3_check_import %{s_name}
%files -n python3-%{sname}
%doc README.md