change sphinx dependency to be based on the file /usr/bin/sphinx-build

This commit is contained in:
rpmbuild 2019-03-22 13:37:26 +00:00
commit 39fc626338

View file

@ -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 <rebus at, seznam.cz> - 3.9.0-2
- change dependency to sphinx based on the /usr/bin/sphinx-build
* Mon Mar 18 2019 Michal Ambroz <rebus at, seznam.cz> - 3.9.0-1
- bump to 3.9.0