[CPack] Prevent the modification of interpreter directives (#278)
* SWDEV-521309 - Prevent the modification of interpreter directives CPACK is converting /usr/bin/env python3 to /usr/libexec/platform-python in RHEL8. Undefining __brp_mangle_shebangs will prevent the same * Correct the cmake format
Šī revīzija ir iekļauta:
revīziju iesūtīja
GitHub
vecāks
66e9dc54e9
revīzija
0a227e6b9e
@@ -196,6 +196,9 @@ endif()
|
||||
set(CPACK_RPM_FILE_NAME "RPM-DEFAULT")
|
||||
set(CPACK_RPM_PACKAGE_LICENSE "MIT")
|
||||
|
||||
# Cpack converts !/usr/bin/env python3 to /usr/libexec/platform-python in RHEL8. prevent
|
||||
# the BRP(buildroot policy) script from checking and modifying interpreter directives
|
||||
set(CPACK_RPM_SPEC_MORE_DEFINE "%undefine __brp_mangle_shebangs")
|
||||
# -------------------------------------------------------------------------------------- #
|
||||
#
|
||||
# Prepare final version for the CPACK use
|
||||
|
||||
Atsaukties uz šo jaunā problēmā
Block a user