From 77636b7ae13881ae53e2f8f42d21d6e090325d32 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mon, 8 Feb 2016 23:21:07 +0100 Subject: [PATCH] Due to an invalid version of sphinx, keep the man page out of epel7 --- python-hypothesis.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/python-hypothesis.spec b/python-hypothesis.spec index fb13e2e..85d7708 100644 --- a/python-hypothesis.spec +++ b/python-hypothesis.spec @@ -102,17 +102,17 @@ rm -rf tests/nocover %py2_build %if 0%{?with_python3} %py3_build -%endif (cd docs && READTHEDOCS=True make man) +%endif %install %py2_install %if 0%{?with_python3} %py3_install -%endif %{__install} -Dp -m 644 docs/_build/man/hypothesis.1 \ $RPM_BUILD_ROOT%{_mandir}/man1/hypothesis.1 +%endif %check @@ -127,7 +127,9 @@ rm -rf tests/py2 %license LICENSE.txt %doc README.rst %{python2_sitelib}/* +%if 0%{?with_python3} %{_mandir}/man1/hypothesis.1* +%endif %if 0%{?with_python3} %files -n python3-%{srcname}