epel9
Irina Boverman 7 years ago
parent c852fb7c4d
commit cf8eb83ef3

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

Loading…
Cancel
Save