[python-fedora] Get the PYTHONPATH for building docs correct

Toshio くらとみ toshio at fedoraproject.org
Wed Aug 10 19:07:07 UTC 2011


commit 067bc7ff3aee980dfdeffe45eb818ded70801973
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Wed Aug 10 12:06:49 2011 -0700

    Get the PYTHONPATH for building docs correct

 python-fedora.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/python-fedora.spec b/python-fedora.spec
index f669a5f..a8d6784 100644
--- a/python-fedora.spec
+++ b/python-fedora.spec
@@ -2,7 +2,7 @@
 
 Name:           python-fedora
 Version:        0.3.24
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Python modules for talking to Fedora Infrastructure Services
 
 Group:          Development/Languages
@@ -82,7 +82,8 @@ Account System.
 
 %build
 paver build
-PYTHONPATH=%{python_sitelib}/CherryPy-2.?.?-py2.?.egg paver html
+path=$(echo %{python_sitelib}/CherryPy-2.?.?-py2.?.egg)
+PYTHONPATH=$path paver html
 
 %install
 rm -rf %{buildroot}
@@ -110,6 +111,9 @@ rm -rf %{buildroot}
 %{python_sitelib}/fedora/django/
 
 %changelog
+* Tue Aug 9 2011 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.24-3
+- Get the PYTHONPATH for building docs correct
+
 * Tue Aug 9 2011 Toshio Kuratomi <toshio at fedoraproject.org> - 0.3.24-2
 - Rework package to provide the turbogears and django code in subpackages with
   full dependencies for each of those.


More information about the scm-commits mailing list