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:
@@ -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