From 009920b748b4876440254023a6c796787a720d9e Mon Sep 17 00:00:00 2001 From: Miro HronĨok Date: Mar 23 2022 11:31:47 +0000 Subject: 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. --- diff --git a/python-nbconvert.spec b/python-nbconvert.spec index 5c38a04..6a24db0 100644 --- a/python-nbconvert.spec +++ b/python-nbconvert.spec @@ -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 nbconvert