[packages/hivex] pass PYTHON path explicitly when building python2 package too

atler atler at pld-linux.org
Sun Jun 30 14:58:46 CEST 2024


commit 5937c77df2831afe4e9c3aef92e53829176147f9
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Jun 30 14:12:37 2024 +0200

    pass PYTHON path explicitly when building python2 package too

 hivex.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/hivex.spec b/hivex.spec
index 37137ea..4357b24 100644
--- a/hivex.spec
+++ b/hivex.spec
@@ -160,7 +160,7 @@ Wiązania języka Ruby do biblioteki hivex.
 %setup -q
 
 %{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+perl(\s|$),#!%{__perl}\1,' \
-      regedit/hivexregedit
+	regedit/hivexregedit
 
 %build
 %{__aclocal}
@@ -183,6 +183,7 @@ cd ..
 %endif
 
 %configure \
+	PYTHON="%{__python}" \
 	--disable-silent-rules \
 	--with-python-installdir=%{py_sitedir} \
 	%{__enable_disable ocaml} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hivex.git/commitdiff/5937c77df2831afe4e9c3aef92e53829176147f9



More information about the pld-cvs-commit mailing list