From f57433cc926a39f3c38964cbcbb2134856496088 Mon Sep 17 00:00:00 2001 From: rpmbuild Date: Mon, 18 Mar 2019 19:49:19 +0000 Subject: [PATCH] python3-sphinx for 31 --- python-yara.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-yara.spec b/python-yara.spec index ac86ee4..e6d2d67 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -36,7 +36,11 @@ BuildRequires: libtool BuildRequires: yara-devel BuildRequires: python2 # html doc generation +%if 0%{?rhel} || 0%{?fedora} < 31 +BuildRequires: python2-sphinx +%else BuildRequires: python3-sphinx +%endif BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-nose @@ -194,7 +198,7 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3" -v ./tests.py:TestYar - fix the arch lists * Tue Aug 16 2016 Michal Ambroz - 3.5.0-7 -- adding test exclusions also for armv7hl and ppc64le +- adding test exclusions also for armv7hl and ppc64le * Tue Aug 16 2016 Michal Ambroz - 3.5.0-6 - additionally testEntrypoint testIn testIntegerFunctions failing on s390/ppc64