diff --git a/python-blinker.changes b/python-blinker.changes index a904bc6..1b64b0d 100644 --- a/python-blinker.changes +++ b/python-blinker.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Sep 14 13:56:07 UTC 2022 - Matej Cepl + +- Fix documentation generation. + ------------------------------------------------------------------- Mon Sep 12 14:44:36 UTC 2022 - Arun Persaud diff --git a/python-blinker.spec b/python-blinker.spec index 392e8a4..2818e9f 100644 --- a/python-blinker.spec +++ b/python-blinker.spec @@ -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