We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f774bf6 commit 0d7160dCopy full SHA for 0d7160d
CMakeLists.txt
@@ -263,6 +263,9 @@ if ( PROC_RESULT EQUAL "0" AND NOT EVAL_RESULT STREQUAL "" )
263
endif()
264
message(STATUS "Using CPACK_RPM_PACKAGE_RELEASE: ${CPACK_RPM_PACKAGE_RELEASE}")
265
set ( CPACK_RPM_FILE_NAME "RPM-DEFAULT" )
266
+# #!/usr/bin/env is converted to /usr/libexec/platform-python in some OS like RHEL
267
+# Prevent the modification of python interpreter directives in runpath_to_rpath.py
268
+set( CPACK_RPM_SPEC_MORE_DEFINE "\n%undefine __brp_mangle_shebangs")
269
270
# Debian Lintian Fix - Add Dependency for Python Script delivered
271
set( DEB_DEPENDS_STRING "python3, libc6 (>= 2.34)" )
0 commit comments