From aa4b62857e9ed43d1192f5a73892e5aa8898e8f46f73715c3c481ca4a06b4ab4 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 9 May 2022 14:09:48 +0000 Subject: [PATCH] Fix SPEC OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-sphinx-autodoc-typehints?expand=0&rev=27 --- python-sphinx-autodoc-typehints.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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