From d3f3eb42e7316bcbec839a2afa0c5e754a783a23 Mon Sep 17 00:00:00 2001 From: Irina Boverman Date: Mon, 7 Jan 2019 15:35:16 -0500 Subject: [PATCH] 0.26.0-1 --- qpid-proton.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qpid-proton.spec b/qpid-proton.spec index d94933e..478c0c2 100644 --- a/qpid-proton.spec +++ b/qpid-proton.spec @@ -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 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 +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 chmod +x %{buildroot}%{python2_sitearch}/_cproton.so