From 120940119b41b255cde6bc3247fd28dc7b9faa08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 11 Jan 2023 19:58:12 +0100 Subject: [PATCH] Use the documented way to unset -s from Python shebangs --- python-tox.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-tox.spec b/python-tox.spec index 574e99d..725586d 100644 --- a/python-tox.spec +++ b/python-tox.spec @@ -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