From 802a3c9c9d42b5ac4bf62942b80ff3cce47dfcc3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 3 Feb 2022 18:32:20 +0100 Subject: [PATCH] Run import check during the build --- python-gssapi.spec | 5 +++++ 1 file changed, 5 insertions(+) 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