diff --git a/python-repoze.sphinx.autointerface.changes b/python-repoze.sphinx.autointerface.changes index 7e8859a..23a6656 100644 --- a/python-repoze.sphinx.autointerface.changes +++ b/python-repoze.sphinx.autointerface.changes @@ -2,6 +2,7 @@ Wed Jun 11 11:50:44 UTC 2025 - Markéta Machová - Convert to pip-based build +- Run tests ------------------------------------------------------------------- Mon Jun 12 05:39:21 UTC 2023 - ecsos diff --git a/python-repoze.sphinx.autointerface.spec b/python-repoze.sphinx.autointerface.spec index 1d6b2e4..85b2def 100644 --- a/python-repoze.sphinx.autointerface.spec +++ b/python-repoze.sphinx.autointerface.spec @@ -26,10 +26,11 @@ License: SUSE-Repoze Group: Development/Languages/Python URL: http://www.repoze.org Source: https://files.pythonhosted.org/packages/source/r/repoze.sphinx.autointerface/%{modname}-%{version}.tar.gz -BuildRequires: %{python_module base >= 3.6} +BuildRequires: %{python_module Sphinx} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} +BuildRequires: %{python_module zope.iterface} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-Sphinx @@ -51,6 +52,11 @@ zope.interface instances in code. %install %pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} +# do not install tests +%python_expand rm -rf %{$python_sitelib}/repoze/sphinx/tests + +%check +%pyunittest %files %{python_files} %license LICENSE.txt @@ -59,5 +65,7 @@ zope.interface instances in code. %dir %{python_sitelib}/repoze/sphinx %{python_sitelib}/repoze/sphinx/autointerface.py %{python_sitelib}/repoze[._]sphinx[._]autointerface-%{version}*-info +%{python_sitelib}/repoze[._]sphinx[._]autointerface-%{version}*nspkg.pth +%pycache_only %{python_sitelib}/repoze/sphinx/__pycache__/autointerface* %changelog