Skip to content

Commit

Permalink
Merge pull request #7234 from gurevichmark/platform_python
Browse files Browse the repository at this point in the history
Prevent rpmbuild from checking and modifying interpreter directives
  • Loading branch information
besawn committed Aug 11, 2022
2 parents 39a7ac5 + 17d5912 commit c9505b4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xCAT-openbmc-py/xCAT-openbmc-py.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ Distribution: %{?_distribution:%{_distribution}}%{!?_distribution:%{_vendor}}
Prefix: /opt/xcat
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root

# Disable shebang mangling of python scripts
%undefine __brp_mangle_shebangs

%ifnos linux
AutoReqProv: no
%endif
Expand Down
3 changes: 3 additions & 0 deletions xCAT-server/xCAT-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c9505b4

Please sign in to comment.