- Fix documentation generation.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-blinker?expand=0&rev=27
This commit is contained in:
Matej Cepl 2022-09-14 13:56:16 +00:00 committed by Git OBS Bridge
parent cf9e49fb01
commit 1e0e551d41
2 changed files with 14 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Sep 14 13:56:07 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Fix documentation generation.
-------------------------------------------------------------------
Mon Sep 12 14:44:36 UTC 2022 - Arun Persaud <arun@gmx.de>

View File

@ -63,8 +63,14 @@ This sub-package contains the HTML documentation.
%install
%python_install
cd docs; make html
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%{python_expand pushd docs
export PYTHONPATH=%{buildroot}%{$python_sitelib}
make html
popd
%fdupes %{buildroot}%{$python_sitelib}
}
%check
%pytest
@ -76,6 +82,6 @@ cd docs; make html
%{python_sitelib}/blinker
%files -n python-blinker-doc
%doc docs/html
%doc docs/_build/html
%changelog