#4 Prepare spec for multiple flags in %py3_shebang_flags
Merged 2 years ago by churchyard. Opened 2 years ago by churchyard.
rpms/ churchyard/python-qtconsole py3_shebang_flags_sed  into  rawhide

file modified
+1 -1
@@ -1,6 +1,6 @@ 

  # Unset -s on python shebang - ensure that extensions installed with pip

  # to user locations are seen and properly loaded

- %global py3_shebang_flags %nil

+ %global py3_shebang_flags %(echo %py3_shebang_flags | sed s/s//)

  

  %global pypi_name qtconsole

  

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.

Warning: This PR was opened to 11 packages en masse without a testing mock build. Don't merge it willy-nilly, I plan to wait for the CI build to finish and verify the shebang myself.

feel free to merge when ready.

Pull-Request has been merged by churchyard

2 years ago
Metadata