[python-rospkg/f19] Set a utf8 locale for the nosetests (thanks Schrödinger)

rmattes rmattes at fedoraproject.org
Thu Apr 17 01:17:54 UTC 2014


commit 7c49ac8787c2815c555975ecfa292335026864b0
Author: Rich Mattes <richmattes at gmail.com>
Date:   Wed Apr 16 21:17:34 2014 -0400

    Set a utf8 locale for the nosetests (thanks Schrödinger)

 python-rospkg.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/python-rospkg.spec b/python-rospkg.spec
index ef51823..655a975 100644
--- a/python-rospkg.spec
+++ b/python-rospkg.spec
@@ -61,7 +61,7 @@ mv %{realname}-%{commit} %{realname}
 cd %{realname}
 # Run the nosetests
 pushd test
-PYTHONPATH=%{buildroot}%{python2_sitelib} nosetests
+LANG=en_US.utf8 PYTHONPATH=%{buildroot}%{python2_sitelib} nosetests
 popd
 # Put the source folder back to its original name
 cd ..


More information about the scm-commits mailing list