From 39fc6263389b87ea6b6f705f4d14ff184d7362fe Mon Sep 17 00:00:00 2001 From: rpmbuild Date: Fri, 22 Mar 2019 13:37:26 +0000 Subject: [PATCH] change sphinx dependency to be based on the file /usr/bin/sphinx-build --- python-yara.spec | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/python-yara.spec b/python-yara.spec index 18f0a38..c63c01d 100644 --- a/python-yara.spec +++ b/python-yara.spec @@ -1,6 +1,6 @@ Name: python-yara Version: 3.9.0 -%global rel 1 +%global rel 2 Summary: Python binding for the YARA pattern matching tool License: ASL 2.0 URL: http://github.com/VirusTotal/yara-python/ @@ -36,11 +36,7 @@ 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: /usr/bin/sphinx-build BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-nose @@ -146,6 +142,9 @@ PYTHONPATH=%{buildroot}/%{python3_sitearch}/ "$NOSETESTS3" -v ./tests.py:TestYar #==================================================================== %changelog +* Fri Mar 22 2019 Michal Ambroz - 3.9.0-2 +- change dependency to sphinx based on the /usr/bin/sphinx-build + * Mon Mar 18 2019 Michal Ambroz - 3.9.0-1 - bump to 3.9.0