From 6f12483b79553dbc76dd49afa17c5b675f2015dc Mon Sep 17 00:00:00 2001 From: Mark Gurevich Date: Fri, 12 Aug 2022 08:38:29 -0400 Subject: [PATCH] Prevent rpmbuild from checking and modifying interpreter directives(2) --- xCAT-probe/xCAT-probe.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-probe/xCAT-probe.spec b/xCAT-probe/xCAT-probe.spec index 847f8a4ab..108774e7d 100644 --- a/xCAT-probe/xCAT-probe.spec +++ b/xCAT-probe/xCAT-probe.spec @@ -13,6 +13,9 @@ Prefix: /opt/xcat BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root Requires: xCAT-client = 4:%{version}-%{release} +# Disable shebang mangling of python scripts +%undefine __brp_mangle_shebangs + %ifos linux BuildArch: noarch %endif