This is an automated email from the ASF dual-hosted git repository. prozsa pushed a commit to branch branch-4.5.0 in repository https://gitbox.apache.org/repos/asf/impala.git
commit 5846253ba1b8eccc3c181d9797ccabe347dd3adb Author: Peter Rozsa <[email protected]> AuthorDate: Fri Feb 7 15:55:40 2025 +0100 IMPALA-13742: Force python3 for CPack This patch adds a global override for CPack to use python3. Change-Id: Id9a0400d6c4cfb1b13ccf33c8ed4d5bf2a9c513b Reviewed-on: http://gerrit.cloudera.org:8080/22464 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- package/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/package/CMakeLists.txt b/package/CMakeLists.txt index 0a2195e06..d264718ee 100644 --- a/package/CMakeLists.txt +++ b/package/CMakeLists.txt @@ -128,6 +128,7 @@ endif() set(CPACK_PACKAGING_INSTALL_PREFIX "/opt") set(CPACK_PACKAGE_INSTALL_DIRECTORY "impala") +set(CPACK_RPM_SPEC_MORE_DEFINE "%global __python %{__python3}") execute_process( COMMAND bash -c "${CMAKE_SOURCE_DIR}/docker/install_os_packages.sh --dry-run | tail -n1"
