diff --git a/python-sphinx-autodoc-typehints.spec b/python-sphinx-autodoc-typehints.spec index b27666f..1065af1 100644 --- a/python-sphinx-autodoc-typehints.spec +++ b/python-sphinx-autodoc-typehints.spec @@ -18,6 +18,8 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +%define modname sphinx_autodoc_typehints + Name: python-sphinx-autodoc-typehints Version: 1.18.1 Release: 0 @@ -68,8 +70,9 @@ and return value types of functions. %pytest -k 'not (test_sphinx_output or test_format_annotation)' %files %{python_files} -%{python_sitelib}/* %license LICENSE %doc README.md CHANGELOG.md +%{python_sitelib}/%{modname}-%{version}*-info +%{python_sitelib}/%{modname} %changelog