Define %py(2|3)?_shbang_opts_nodash to be used with pathfix.py -a

This commit is contained in:
Miro Hrončok 2020-02-06 10:24:03 +01:00
commit 5c8a587f3f
4 changed files with 7 additions and 1 deletions

View file

@ -6,6 +6,7 @@
%py3dir %{_builddir}/python3-%{name}-%{version}-%{release}
%py3_shbang_opts -s
%py3_shbang_opts_nodash %(opts=%{py3_shbang_opts}; echo ${opts#-})
# Use the slashes after expand so that the command starts on the same line as
# the macro