[packages/ruby/dev-2.1] avoid testuite ruining pld spec repo

glen glen at pld-linux.org
Sat Aug 1 19:30:06 CEST 2015


commit af9a9c12dd3c5e4ac5e943027a3ad9f031eb6653
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sat Aug 1 20:29:46 2015 +0300

    avoid testuite ruining pld spec repo

 ruby.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/ruby.spec b/ruby.spec
index fbbde7f..2e9dce2 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -489,6 +489,10 @@ cd ..
 %endif
 
 %if %{with tests}
+# unset these, as testsuite does "git commit" somewhere, which points to pld .spec repo. doh
+unset GIT_DIR GIT_WORK_TREE
+
+unset GIT
 DISABLE_TESTS=""
 
 %ifarch armv7l armv7hl armv7hnl
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby.git/commitdiff/af9a9c12dd3c5e4ac5e943027a3ad9f031eb6653



More information about the pld-cvs-commit mailing list