[packages/python-pygit2] avoid recompilation during tests

draenog draenog at pld-linux.org
Sun Oct 13 16:47:20 CEST 2013


commit d5760909689f6b31ac4e25980d61fa945dbbf82d
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Sun Oct 13 15:44:42 2013 +0100

    avoid recompilation during tests

 python-pygit2.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-pygit2.spec b/python-pygit2.spec
index 45151fa..8aaaa20 100644
--- a/python-pygit2.spec
+++ b/python-pygit2.spec
@@ -56,14 +56,14 @@ Dokumentacja API %{module}.
 %{__python3} setup.py build --build-base build-3
 %endif
 
-%{?with_tests:%{__python} setup.py test}
+%{?with_tests:%{__python} setup.py build -b build-2 test}
 
 %if %{with python3}
 %{__python3} setup.py \
 	build -b build-3
 
 %if %{with tests}
-%{__python3} setup.py test
+%{__python3} setup.py build -b build-3 test
 %endif
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-pygit2.git/commitdiff/d5760909689f6b31ac4e25980d61fa945dbbf82d



More information about the pld-cvs-commit mailing list