epel9
Irina Boverman 3 years ago
parent cdad798285
commit e76f31afa1

@ -7,7 +7,7 @@
Name: qpid-proton Name: qpid-proton
Version: 0.36.0 Version: 0.36.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: A high performance, lightweight messaging library Summary: A high performance, lightweight messaging library
License: ASL 2.0 License: ASL 2.0
URL: http://qpid.apache.org/proton/ URL: http://qpid.apache.org/proton/
@ -250,10 +250,6 @@ rm -rf %{buildroot}
cd buildpython3 cd buildpython3
%make_install %make_install
(cd python/dist; %py3_install) (cd python/dist; %py3_install)
find %{buildroot}%{proton_datadir}/examples/python -name "*.py" -exec sed -i 's/!\/usr\/bin\/env python/!\/usr\/bin\/python3/' {} \;
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
mv %{buildroot}%{proton_datadir}/examples/python/proton_server.py.original %{buildroot}%{proton_datadir}/examples/python/proton_server.py
chmod +x %{buildroot}%{python3_sitearch}/_cproton.so chmod +x %{buildroot}%{python3_sitearch}/_cproton.so
@ -333,6 +329,9 @@ rm -f %{buildroot}%{proton_datadir}/CMakeLists.txt
%check %check
%changelog %changelog
* Thu Jan 13 2022 Irina Boverman <iboverma@redhat.com> - 0.36.0-2
- Removed no longer needed code
* Tue Jan 4 2022 Irina Boverman <iboverma@redhat.com> - 0.36.0-1 * Tue Jan 4 2022 Irina Boverman <iboverma@redhat.com> - 0.36.0-1
- Rebased to 0.36.0 - Rebased to 0.36.0

Loading…
Cancel
Save