diff --git a/python-py.spec b/python-py.spec index 4cb7852..08fc3d0 100644 --- a/python-py.spec +++ b/python-py.spec @@ -1,6 +1,5 @@ # we have a circular (build) dependency with the (new) pytest package -# when generating the docs or running the testsuite -%bcond_without docs +# when running the testsuite # the testsuite is currently not compatible with pytest 3, see # https://github.com/pytest-dev/py/issues/104 %if 0%{?fedora} || 0%{?rhel} > 7 @@ -16,7 +15,7 @@ Name: python-%{srcname} Version: 1.11.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library with cross-python path, ini-parsing, io, code, log facilities License: MIT and Public Domain # main package: MIT, except: doc/style.css: Public Domain @@ -45,10 +44,6 @@ Summary: Library with cross-python path, ini-parsing, io, code, log facil BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm -%if %{with docs} -BuildRequires: make -BuildRequires: %{_bindir}/sphinx-build -%endif # with_docs %if %{with tests} BuildRequires: python3-pytest >= %{pytest_version_lb}, python3-pytest < %{pytest_version_ub} %endif # with tests @@ -81,10 +76,6 @@ find . \ %build %py3_build -%if %{with docs} -make -C doc html PYTHONPATH=$(pwd) -rm -rf doc/_build/html/.buildinfo -%endif # with docs %install @@ -108,14 +99,14 @@ py.test-%{python3_version} -r s -k"-TestWCSvnCommandPath" testing %doc CHANGELOG.rst %doc README.rst %license LICENSE -%if %{with docs} -%doc doc/_build/html -%endif # with_docs %{python3_sitelib}/py-*.egg-info/ %{python3_sitelib}/py/ %changelog +* Tue Feb 15 2022 Karolina Surma - 1.11.0-3 +- Remove documentation from the package + * Fri Jan 21 2022 Fedora Release Engineering - 1.11.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild