|
|
|
@ -283,6 +283,7 @@ make all docs -j1
|
|
|
|
|
cd ..
|
|
|
|
|
mkdir buildpython3
|
|
|
|
|
cd buildpython3
|
|
|
|
|
python_includes=$(ls -d /usr/include/python3*)
|
|
|
|
|
%cmake \
|
|
|
|
|
-DSYSINSTALL_BINDINGS=ON \
|
|
|
|
|
-DCMAKE_SKIP_RPATH:BOOL=OFF \
|
|
|
|
@ -290,7 +291,7 @@ cd buildpython3
|
|
|
|
|
"-DCMAKE_C_FLAGS=$CMAKE_C_FLAGS $CFLAGS $ADDCFLAGS" \
|
|
|
|
|
-DCYRUS_SASL_INCLUDE_DIR=/usr/include \
|
|
|
|
|
-DPYTHON_EXECUTABLE=/usr/bin/python3 \
|
|
|
|
|
-DPYTHON_INCLUDE_DIR=/usr/include/python3/ \
|
|
|
|
|
"-DPYTHON_INCLUDE_DIR=$python_includes" \
|
|
|
|
|
"-DPYTHON_LIBRARY=%{_libdir}/libpython3.so" \
|
|
|
|
|
..
|
|
|
|
|
#make all docs %{?_smp_mflags}
|
|
|
|
|