[python-eventlet/el6: 4/4] changed python-sphinx build dependency to python-sphinx10

Pádraig Brady pbrady at fedoraproject.org
Tue Nov 1 10:55:34 UTC 2011


commit c97462ef3e32fe310151500972d3137631ed1827
Author: Pádraig Brady <P at draigBrady.com>
Date:   Tue Nov 1 10:41:12 2011 +0000

    changed python-sphinx build dependency to python-sphinx10
    
    * python-eventlet.spec: Updated BuildRequires and adjusted
    the `make html` call, to use the correct sphinx binary.

 python-eventlet.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/python-eventlet.spec b/python-eventlet.spec
index 60dbb63..bda543a 100644
--- a/python-eventlet.spec
+++ b/python-eventlet.spec
@@ -4,7 +4,7 @@
 
 Name:           python-eventlet
 Version:        0.9.16
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Highly concurrent networking library
 Group:          Development/Libraries
 License:        MIT
@@ -14,7 +14,7 @@ BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 BuildRequires:  python2-devel
 BuildRequires:  python-setuptools
-BuildRequires:  python-sphinx
+BuildRequires:  python-sphinx10
 BuildRequires:  python-greenlet
 Requires:       python-greenlet
 
@@ -41,8 +41,9 @@ sed -i -e '1d' eventlet/support/greendns.py
 
 %build
 %{__python} setup.py build
+export PYTHONPATH="$( pwd ):$PYTHONPATH"
 pushd doc
-make html
+make SPHINXBUILD=sphinx-1.0-build html
 rm _build/html/.buildinfo
 popd
 chmod a-x tests/mock.py
@@ -66,6 +67,9 @@ rm -rf %{buildroot}
 %doc doc/_build/html examples tests
 
 %changelog
+* Fri Oct 21 2011 Pádraig Brady <P at draigBrady.com> - 0.9.16-2
+- Changed python-sphinx build dependency to python-sphinx10
+
 * Sat Aug 27 2011 Kevin Fenzi <kevin at scrye.com> - 0.9.16-1
 - Update to 0.9.16
 


More information about the scm-commits mailing list