From e5e79136d135c2ad56ec1e3d5e8d80e80dcb3a97 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Dec 23 2016 16:55:52 +0000 Subject: Fix sphinxbuild invocation. --- diff --git a/python-pybtex-docutils.spec b/python-pybtex-docutils.spec index 0519731..693c99e 100644 --- a/python-pybtex-docutils.spec +++ b/python-pybtex-docutils.spec @@ -11,7 +11,7 @@ Summary: Docutils backend for pybtex License: MIT URL: https://github.com/mcmtroffaes/%{srcname} -Source0: https://pypi.python.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz +Source0: https://files.pythonhosted.org/packages/source/p/%{srcname}/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel @@ -87,7 +87,7 @@ sed -i 's/"rb"/"rt"/' python3-%{srcname}-%{version}/doc/conf.py # Python 2 build pushd %{srcname}-%{version} %py2_build -PYTHONPATH=$PWD make -C doc html +PYTHONPATH=$PWD make -C doc html SPHINXBUILD=%{_bindir}/sphinx-build-%{python2_version} popd %if 0%{?with_python3}