Skip to content

Commit 17d5912

Browse files
committed
Prevent rpmbuild from checking and modifying interpreter directives2
1 parent 05bceac commit 17d5912

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

xCAT-openbmc-py/xCAT-openbmc-py.spec

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
1212
Prefix: /opt/xcat
1313
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
1414

15+
# Disable shebang mangling of python scripts
16+
%undefine __brp_mangle_shebangs
17+
1518
%ifnos linux
1619
AutoReqProv: no
1720
%endif

0 commit comments

Comments
 (0)