%undefine _py3_shebang_s at the top of the file

This commit is contained in:
Maxwell G 2022-11-10 17:24:30 -06:00
parent 46737d61f4
commit e3860c8f67
No known key found for this signature in database
GPG Key ID: F79E4E25E8C661F8

View File

@ -1,4 +1,6 @@
%bcond_without tests
# disable the python -s shbang flag as we want to be able to find non system modules
%undefine _py3_shebang_s
Name: ansible-core
Summary: A radically simple IT automation system
@ -111,9 +113,6 @@ sed '/^mock$/d' test/lib/ansible_test/_data/requirements/units.txt > _requiremen
%build
# disable the python -s shbang flag as we want to be able to find non system modules
%undefine _py3_shebang_s
%pyproject_wheel
# Build manpages