Prepare spec for multiple flags in %py3_shebang_flags

See the relevant change of packaging guidelines:
https://pagure.io/packaging-committee/pull-request/1165

tl;dr If we ever add more flags, we want to remove s here, not all flags.
This commit is contained in:
Miro Hrončok 2022-03-23 12:31:47 +01:00
parent b0978bafd9
commit 055cf1292a

View File

@ -6,7 +6,7 @@
# Unset -s on python shebang to allow RPM-installed sphinx to be used
# with user-installed modules (#1903763)
%global py3_shebang_flags %nil
%global py3_shebang_flags %(echo %py3_shebang_flags | sed s/s//)
# No internet in Koji
%bcond_with internet