From cf8eb83ef3f338394c1a1d39f2d6c147ab240a0d Mon Sep 17 00:00:00 2001 From: Irina Boverman Date: Tue, 31 Jul 2018 14:25:39 -0400 Subject: [PATCH] 0.24.0-2 --- qpid-proton.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qpid-proton.spec b/qpid-proton.spec index 16d066c..c6033ab 100644 --- a/qpid-proton.spec +++ b/qpid-proton.spec @@ -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}