From 204efffdc7ed4567f5ae2974ffceed5d6e74a9eb Mon Sep 17 00:00:00 2001 From: Irina Boverman Date: Wed, 29 Jul 2020 10:48:17 -0400 Subject: [PATCH] WIP --- qpid-proton.spec | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/qpid-proton.spec b/qpid-proton.spec index 5a54e08..64b6152 100644 --- a/qpid-proton.spec +++ b/qpid-proton.spec @@ -10,11 +10,9 @@ %filter_setup } -%undefine __cmake_in_source_build - Name: qpid-proton Version: 0.31.0 -Release: 5%{?dist} +Release: 4%{?dist} Summary: A high performance, lightweight messaging library License: ASL 2.0 URL: http://qpid.apache.org/proton/ @@ -229,9 +227,8 @@ python_includes=$(ls -d /usr/include/python3*) "-DCMAKE_C_FLAGS=$CMAKE_C_FLAGS $CFLAGS -Wno-error=format-security" \ "-DCMAKE_CXX_FLAGS=$CMAKE_CXX_FLAGS $CXXFLAGS -Wno-error=format-security" \ .. -%cmake_build all docs -j1 -pwd -find . -name dist +#make all docs %{?_smp_mflags} +make all docs -j1 (cd python/dist; %py3_build) @@ -239,9 +236,7 @@ find . -name dist rm -rf %{buildroot} cd buildpython3 -%cmake_install -pwd -find . -name dist +%make_install (cd python/dist; %py3_install) find %{buildroot}%{proton_datadir}/examples/python -name "*.py" -exec sed -i 's/!\/usr\/bin\/env python/!\/usr\/bin\/python3/' {} \; sed -i 's/!\/usr\/bin\/python/!\/usr\/bin\/python3/' %{buildroot}%{proton_datadir}/examples/c/testme