forked from pool/python-blinker
- 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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user