[packages/yasm] explicit python path

atler atler at pld-linux.org
Thu Jun 18 20:41:35 CEST 2026


commit 69896d74271142c47d35662bf6bc861b7df8a8ef
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Jun 18 20:11:07 2026 +0200

    explicit python path

 yasm.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/yasm.spec b/yasm.spec
index 5be8be0..95fdc21 100644
--- a/yasm.spec
+++ b/yasm.spec
@@ -83,7 +83,10 @@ Pythonowy interfejs do biblioteki yasm.
 export CFLAGS="%{rpmcflags} -std=gnu11"
 %configure \
 	%{?debug:--enable-debug} \
-	%{?with_python:--enable-python-bindings}
+%if %{with python}
+	PYTHON="%{__python}" \
+	--enable-python-bindings
+%endif
 
 %{__make} -j1 all check
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/yasm.git/commitdiff/bab279beda9ab51176106e3a1c8e944e85d01085



More information about the pld-cvs-commit mailing list