Use the documented way to unset -s from Python shebangs

This commit is contained in:
Miro Hrončok 2023-01-11 19:58:12 +01:00
commit 120940119b

View file

@ -16,7 +16,7 @@
# Unset -s on python shebang - ensure that extensions installed with pip
# to user locations are seen and properly loaded
# Fixes https://bugzilla.redhat.com/2057015
%global py3_shebang_flags %(echo %py3_shebang_flags | sed s/s//)
%undefine _py3_shebang_s
Name: python-tox
Version: 4.2.7