[packages/libftdi1] - moved C++ bindings build from python2 to python3

hawk hawk at pld-linux.org
Sat May 18 14:20:22 CEST 2024


commit 50fecacf1168f921bdb97d5a6919ed1b1eb5ff96
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Sat May 18 14:19:39 2024 +0200

    - moved C++ bindings build from python2 to python3

 libftdi1.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libftdi1.spec b/libftdi1.spec
index b6526d1..17575b6 100644
--- a/libftdi1.spec
+++ b/libftdi1.spec
@@ -160,7 +160,6 @@ cd build-py2
 %cmake .. \
 	-DDOCUMENTATION:BOOL=OFF \
 	-DEXAMPLES:BOOL=OFF \
-	-DFTDIPP:BOOL=ON \
 	-DPYTHON_BINDINGS:BOOL=ON \
 	-DPYTHON_EXECUTABLE=%{__python}
 %{__make}
@@ -173,6 +172,7 @@ cd build-py3
 %cmake .. \
 	-DDOCUMENTATION:BOOL=OFF \
 	-DEXAMPLES:BOOL=OFF \
+	-DFTDIPP:BOOL=ON \
 	-DPYTHON_BINDINGS:BOOL=ON \
 	-DPYTHON_EXECUTABLE=%{__python3}
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libftdi1.git/commitdiff/50fecacf1168f921bdb97d5a6919ed1b1eb5ff96



More information about the pld-cvs-commit mailing list