summaryrefslogtreecommitdiff
path: root/cmake/cpack_rpm.cmake
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2020-06-27 18:44:00 +0200
committerSergei Golubchik <serg@mariadb.org>2020-07-01 08:48:34 +0200
commit263f8aff651edf1e43e385b7390c0e67ae51d358 (patch)
treef8f84be3dbd8d6d673bd9647198153427ceea712 /cmake/cpack_rpm.cmake
parentd742f282fc9bde46db2e19863128814d1b4d1464 (diff)
downloadmariadb-git-263f8aff651edf1e43e385b7390c0e67ae51d358.tar.gz
always use python3
because columnstore uses python3, so rocksdb can be picky too. python3 is present in all supported distros. and python2 is obsolete anyway.
Diffstat (limited to 'cmake/cpack_rpm.cmake')
-rw-r--r--cmake/cpack_rpm.cmake4
1 files changed, 1 insertions, 3 deletions
diff --git a/cmake/cpack_rpm.cmake b/cmake/cpack_rpm.cmake
index be0252e36a4..662edbcb67d 100644
--- a/cmake/cpack_rpm.cmake
+++ b/cmake/cpack_rpm.cmake
@@ -249,9 +249,7 @@ ELSEIF(RPM MATCHES "sles")
"mariadb-server = %{version}-%{release}"
)
ENDIF()
-IF(RPM MATCHES "fedora31" OR RPM MATCHES "(rhel|centos)8")
- SET(PYTHON_SHEBANG "/usr/bin/python3" CACHE STRING "python shebang")
-ENDIF()
+SET(PYTHON_SHEBANG "/usr/bin/python3" CACHE STRING "python shebang")
# If we want to build build MariaDB-shared-compat,
# extract compat libraries from MariaDB-shared-5.3 rpm