diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-06-28 13:19:14 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-06-28 13:19:14 +0200 |
commit | cb929010f7466335011cef51bfbde8b3f1b4d7fc (patch) | |
tree | bf49b2c70d24817ae5b1e9d1a49470e55a51a75d | |
parent | 4e70e0cb0c49c92357b71305a1f03a6efd8ed8b3 (diff) | |
parent | e925e37f0b3a1dfb8ca0fa1a3fc158557b92475f (diff) | |
download | nx-libs-cb929010f7466335011cef51bfbde8b3f1b4d7fc.tar.gz nx-libs-cb929010f7466335011cef51bfbde8b3f1b4d7fc.tar.bz2 nx-libs-cb929010f7466335011cef51bfbde8b3f1b4d7fc.zip |
Merge branch 'Ionic-bugfix/nxdialog-rpm-hashbang' into 3.6.x
Attributes GH PR #1061: https://github.com/ArcticaProject/nx-libs/pull/1061
-rw-r--r-- | nx-libs.spec | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nx-libs.spec b/nx-libs.spec index 85f11f619..b3482626d 100644 --- a/nx-libs.spec +++ b/nx-libs.spec @@ -485,10 +485,10 @@ rm %{buildroot}%{_libdir}/*.la %if 0%{?suse_version} %if 0%{?suse_version} >= 1500 sed -i -e '1c\ -%{_bindir}/python3' '%{buildroot}%{_bindir}/nxdialog' +#!%{_bindir}/python3' '%{buildroot}%{_bindir}/nxdialog' %else sed -i -e '1c\ -%{_bindir}/python2' '%{buildroot}%{_bindir}/nxdialog' +#!%{_bindir}/python2' '%{buildroot}%{_bindir}/nxdialog' %endif %else # Unfortunately, pathfix.py is not available everywhere, so where it is not, @@ -498,14 +498,14 @@ sed -i -e '1c\ pathfix.py -pni "%{__python3} %{py3_shbang_opts}" '%{buildroot}%{_bindir}/nxdialog' %else sed -i -e '1c\ -%{__python3}' '%{buildroot}%{_bindir}/nxdialog' +#!%{__python3}' '%{buildroot}%{_bindir}/nxdialog' %endif %else %if 0%{?rhel} > 6 pathfix.py -pni "%{__python2} %{py2_shbang_opts}" '%{buildroot}%{_bindir}/nxdialog' %else sed -i -e '1c\ -/usr/bin/python2' '%{buildroot}%{_bindir}/nxdialog' +#!/usr/bin/python2' '%{buildroot}%{_bindir}/nxdialog' %endif %endif %endif |