|
|
@ -329,6 +329,9 @@ sed -i.original 's/!\/usr\/bin\/python/!\/usr\/bin\/python3/' %{buildroot}%{prot
|
|
|
|
echo '#!/usr/bin/python3' > %{buildroot}%{proton_datadir}/examples/python/proton_server.py.original
|
|
|
|
echo '#!/usr/bin/python3' > %{buildroot}%{proton_datadir}/examples/python/proton_server.py.original
|
|
|
|
cat %{buildroot}%{proton_datadir}/examples/python/proton_server.py >> %{buildroot}%{proton_datadir}/examples/python/proton_server.py.original
|
|
|
|
cat %{buildroot}%{proton_datadir}/examples/python/proton_server.py >> %{buildroot}%{proton_datadir}/examples/python/proton_server.py.original
|
|
|
|
cp %{buildroot}%{proton_datadir}/examples/python/proton_server.py.original %{buildroot}%{proton_datadir}/examples/python/proton_server.py
|
|
|
|
cp %{buildroot}%{proton_datadir}/examples/python/proton_server.py.original %{buildroot}%{proton_datadir}/examples/python/proton_server.py
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{proton_datadir}/examples/python/*.original
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{proton_datadir}/examples/c/*.original
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{proton_datadir}/examples/cpp/*.original
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
chmod +x %{buildroot}%{python2_sitearch}/_cproton.so
|
|
|
|
chmod +x %{buildroot}%{python2_sitearch}/_cproton.so
|
|
|
|