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:
parent
b79c14e811
commit
a92239f622
@ -43,7 +43,7 @@ Requires: python3-gssapi
|
|||||||
%py3_install
|
%py3_install
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} -m unittest
|
%py3_check_import %{s_name}
|
||||||
|
|
||||||
%files -n python3-%{sname}
|
%files -n python3-%{sname}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
|
Loading…
Reference in New Issue
Block a user