diff --git a/python-strictyaml.spec b/python-strictyaml.spec index 35c12aa..8eff747 100644 --- a/python-strictyaml.spec +++ b/python-strictyaml.spec @@ -78,8 +78,10 @@ sed -r -i 's/(__version__ *= *")DEVELOPMENT_VERSION"/\1%{version}"/' \ %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 strictyaml +# to build the documentation.) We therefore do an import-only “smoke test.” We +# must skip one module in the bundled ruamel-yaml because it does not include +# the compiled C extension (_ruamel_yaml). +%pyproject_check_import -e strictyaml.ruamel.cyaml %files -n python3-strictyaml -f %{pyproject_files}