diff --git a/python-strictyaml.spec b/python-strictyaml.spec index 7d9da3f..5b8b1f9 100644 --- a/python-strictyaml.spec +++ b/python-strictyaml.spec @@ -45,7 +45,7 @@ Priorities: %generate_buildrequires -%pyproject_buildrequires +%pyproject_buildrequires -r %package -n python3-%{srcname} @@ -76,8 +76,10 @@ cp -p '%{SOURCE1}' . %pyproject_save_files %{srcname} +%check # There are no tests. (If there were, it would be as hard to run them as it is # to build the documentation.) +%py3_check_import %{srcname} %files -n python3-%{srcname} -f %{pyproject_files}