diff --git a/python-gssapi.spec b/python-gssapi.spec index c0da6df..6efb549 100644 --- a/python-gssapi.spec +++ b/python-gssapi.spec @@ -45,6 +45,10 @@ Requires: krb5-libs >= 1.19 %pyproject_save_files gssapi +%check +# Check import everything except the tests, as we don't have the tests deps +%pyproject_check_import -e 'gssapi.tests*' + %files -n python3-gssapi -f %{pyproject_files} %doc README.txt %license LICENSE.txt @@ -54,6 +58,7 @@ Requires: krb5-libs >= 1.19 - Enable package notes - Reduce BuildRequires set by using git-core - Remove redundant runtime requires of python3-six +- Run import check during the build * Wed Feb 2 2022 Simo Sorce - 1.7.2-1 - Update to latest release and modernize spec file