[python-wokkel] * Sat Jul 31 2010 Toshio Kuratomi <toshio at fedoraproject.org> 0.6.3-4 - Add PYTHONPATH to invokation

Toshio くらとみ toshio at fedoraproject.org
Sat Jul 31 20:35:27 UTC 2010


commit 80ba7e11538b53f7b381fbd9544f75742247bbb0
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Sat Jul 31 16:35:17 2010 -0400

    * Sat Jul 31 2010 Toshio Kuratomi <toshio at fedoraproject.org> 0.6.3-4
    - Add PYTHONPATH to invokation of the tests

 python-wokkel.spec |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/python-wokkel.spec b/python-wokkel.spec
index 18c4550..055cfe0 100644
--- a/python-wokkel.spec
+++ b/python-wokkel.spec
@@ -1,9 +1,9 @@
-%define debug_package %{nil}
+%global debug_package %{nil}
 
-%define libname wokkel
+%global libname wokkel
 Name:           python-%{libname}
 Version:        0.6.3
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Enhancements to the Twisted XMPP protocol implementation
 
 Group:          Development/Languages
@@ -49,10 +49,10 @@ on top of Twisted Words:
 
 %install
 rm -rf %{buildroot}
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+%{__python} setup.py install --skip-build --root %{buildroot}
 
 %check
-%{__python} wokkel/test/test_*.py
+PYTHONPATH=`pwd` %{__python} wokkel/test/test_*.py
  
 
 %files
@@ -63,6 +63,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sat Jul 31 2010 Toshio Kuratomi <toshio at fedoraproject.org> 0.6.3-4
+- Add PYTHONPATH to invokation of the tests
+
 * Fri Jul 30 2010 Ruben Kerkhof <ruben at rubenkerkhof.com> 0.6.3-3
 - Run tests with python instead of trial
 - Remove obsolete macros


More information about the scm-commits mailing list