mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-22 03:32:04 +00:00
Merge pull request #7234 from gurevichmark/platform_python
Prevent rpmbuild from checking and modifying interpreter directives
This commit is contained in:
commit
c9505b44c9
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user