From a92239f6220c9854bb31d2f22ad4bb0c3f999c67 Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Thu, 6 Jul 2023 00:29:04 -0400 Subject: [PATCH] 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. --- python-urllib-gssapi.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-urllib-gssapi.spec b/python-urllib-gssapi.spec index 183329c..ddbb2e3 100644 --- a/python-urllib-gssapi.spec +++ b/python-urllib-gssapi.spec @@ -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