[packages/git-core] pass RUST_TARGET_DIR when invoking tests

atler atler at pld-linux.org
Tue Jul 7 16:34:01 CEST 2026


commit 8ba92077e5d767b66c3ff43144978008f279b3e4
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Jul 7 16:33:32 2026 +0200

    pass RUST_TARGET_DIR when invoking tests

 git-core.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/git-core.spec b/git-core.spec
index 7d937bb..14e8f20 100644
--- a/git-core.spec
+++ b/git-core.spec
@@ -507,7 +507,8 @@ GIT_SKIP_TESTS="$GIT_SKIP_TESTS t91??"
 %endif
 export GIT_SKIP_TESTS
 %{__make} test \
-	NO_PERL_CPAN_FALLBACKS=1
+	NO_PERL_CPAN_FALLBACKS=1 \
+	RUST_TARGET_DIR="%{cargo_objdir}"
 %endif
 
 %install
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/git-core.git/commitdiff/8ba92077e5d767b66c3ff43144978008f279b3e4



More information about the pld-cvs-commit mailing list