diff --git a/ansible-core.spec b/ansible-core.spec index 7b19f8c..aacaee9 100644 --- a/ansible-core.spec +++ b/ansible-core.spec @@ -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