This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch 3.6.x in repository nx-libs. commit 5bd72aec3c45664712c4c88875777e955bb53da3 Author: Ulrich Sibiller <uli42@gmx.de> Date: Tue Nov 3 19:55:07 2020 +0100 nx-libs.spec: Set python shebang to python3 on fedora and rhel8 *** ERROR: ambiguous python shebang in /usr/bin/nxdialog: #!/usr/bin/env python. Change it to python3 (or python2) explicitly. Fedora offers a pythfix.py but I could not test with that so I simply used sed... Fixes ArcticaProject/nx-libs#955 --- nx-libs.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nx-libs.spec b/nx-libs.spec index ddbc16799..7886be14d 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -473,6 +473,11 @@ rm -r %{buildroot}%{_includedir}/nx-X11/Xtrans #Remove our shared libraries' .la files before wrapping up the packages rm %{buildroot}%{_libdir}/*.la +# Fix python scripts +%if 0%{?fedora} >= 23 || 0%{?rhel} >= 8 || 0%{?py_ver} == 3 +sed -i '1 s/python/python3/' %{buildroot}%{_bindir}/nxdialog +%endif + %if 0%{?fdupes:1} %fdupes %{buildroot}%{_prefix} %endif -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git