[16/20] SPECfile cleanup - explicit definition of Python shebang is not needed

The value we use is the upstream deafult:

| # grep -r -i -e "python_shebang" mariadb-10.5.23-downstream_modified
| mariadb-10.5.23-downstream_modified/storage/rocksdb/myrocks_hotbackup.py:#!@PYTHON_SHEBANG@
| mariadb-10.5.23-downstream_modified/cmake/cpack_deb.cmake:SET(PYTHON_SHEBANG "/usr/bin/python3" CACHE STRING "python shebang")
| mariadb-10.5.23-downstream_modified/cmake/cpack_rpm.cmake:SET(PYTHON_SHEBANG "/usr/bin/python3" CACHE STRING "python shebang")
| mariadb-10.5.23-downstream_modified/CMakeLists.txt:SET(PYTHON_SHEBANG "/usr/bin/env python3" CACHE STRING "python shebang")
| mariadb-10.5.23-downstream_modified/CMakeLists.txt:MARK_AS_ADVANCED(PYTHON_SHEBANG)
This commit is contained in:
Michal Schorm 2023-11-29 18:17:01 +01:00
parent aeb2a7f20d
commit f6b745b0a4

View File

@ -100,8 +100,6 @@
%global pcre_bundled_version 10.42
%endif
%global python_path /usr/bin/python3
# Include systemd files
%global daemon_name %{pkg_name}
%global daemon_no_prefix %{pkg_name}
@ -837,7 +835,6 @@ fi
-DPLUGIN_AUTH_PAM_V1=%{?with_pam:DYNAMIC}%{!?with_pam:NO} \
-DPLUGIN_COLUMNSTORE=NO \
-DPLUGIN_CLIENT_ED25519=OFF \
-DPYTHON_SHEBANG=%{python_path} \
-DPLUGIN_CACHING_SHA2_PASSWORD=%{?with_clibrary:DYNAMIC}%{!?with_clibrary:OFF} \
-DPLUGIN_AWS_KEY_MANAGEMENT=NO \
-DCONNECT_WITH_MONGO=OFF \