From 05bceac0728bd30594ea78258f693a7a89d7a790 Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Thu, 11 Aug 2022 13:38:26 -0400 Subject: [PATCH] Prevent rpmbuild from checking and modifying interpreter directives --- xCAT-server/xCAT-server.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-server/xCAT-server.spec b/xCAT-server/xCAT-server.spec index e95b0b69d..0823f2a1f 100644 --- a/xCAT-server/xCAT-server.spec +++ b/xCAT-server/xCAT-server.spec @@ -28,6 +28,9 @@ AutoReqProv: no # Define a different location for various httpd configs in s390x mode %define httpconfigdir %(if [ "$s390x" = "1" ];then echo "xcathttpdsave"; else echo "xcat"; fi) +# Disable shebang mangling of python scripts +%undefine __brp_mangle_shebangs + # AIX will build with an arch of "ppc" # also need to fix Requires for AIX %ifos linux