diff --git a/python-nixio.spec b/python-nixio.spec index dec1f26..2c69623 100644 --- a/python-nixio.spec +++ b/python-nixio.spec @@ -46,14 +46,6 @@ BuildRequires: %{py3_dist matplotlib} %description -n python3-nixio %{description} -%package doc -Summary: %{summary} -BuildRequires: python3-sphinx -BuildRequires: python3-sphinx_rtd_theme - -%description doc -Documentation files for %{name}. - %prep %forgesetup @@ -68,17 +60,6 @@ cp %{SOURCE1} nixio/info.json -v -p %build %pyproject_wheel -PYTHONPATH=. sphinx-build-3 docs/source html -# Remove unneeded files -rm -fr html/.{buildinfo,doctrees} - -# Remove shebang from documentation examples -for f in html/_downloads/*/*.py; do - sed '1{\@^#!/usr/bin/env python@d}' $f > $f.new && - touch -r $f $f.new && - mv $f.new $f -done - %install %pyproject_install %pyproject_save_files nixio @@ -89,9 +70,5 @@ done %files -n python3-nixio -f %{pyproject_files} %{_bindir}/nixio -%files doc -%doc README.rst html -%license LICENSE - %changelog %autochangelog