spec: remove strict options from shebangs

https://pagure.io/freeipa/issue/4985

Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
This commit is contained in:
Stanislav Laznicka 2017-09-01 09:30:52 +02:00 committed by Tomas Krizek
parent 263217ff46
commit aa969da461
No known key found for this signature in database
GPG Key ID: 22A2A94B5E49415A

View File

@ -932,7 +932,7 @@ install/tools/ipactl
ipa
'
for P in $PY3_SUBST_PATHS; do
sed -i -e '1 s|^#!.*\bpython[0-9]*\(\s\+-\)\?|#!%{__python3} -bb|' $P
sed -i -e '1 s|^#!\s\?.*\bpython[0-9]*|#!%{__python3}|' $P
done;
%endif # with_python3