Hello community, here is the log from the commit of package qpid-proton for openSUSE:Factory checked in at 2017-08-12 20:00:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qpid-proton (Old) and /work/SRC/openSUSE:Factory/.qpid-proton.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qpid-proton" Sat Aug 12 20:00:35 2017 rev:8 rq:515010 version:0.17.0 Changes: -------- --- /work/SRC/openSUSE:Factory/qpid-proton/qpid-proton.changes 2017-02-22 13:47:24.088696587 +0100 +++ /work/SRC/openSUSE:Factory/.qpid-proton.new/qpid-proton.changes 2017-08-12 20:00:36.635575236 +0200 @@ -1,0 +2,33 @@ +Mon Aug 7 11:00:50 UTC 2017 - tbecht...@suse.com + +- Rename python package to python-python-qpid-proton to follow the + naming policy. For python packages, that is python-$pypi_name and + the name on pypi is python-qpid-python. +- Build a python2 and python3 package. The python2 package provides + the non-versioned python package for now. + +------------------------------------------------------------------- +Mon Aug 7 09:44:04 UTC 2017 - tbecht...@suse.com + +- update to 0.17.0: + * Full text https://qpid.apache.org/releases/qpid-proton-0.17.0/release-notes.html + * PROTON-1312 - BlockingConnection leaks Proton-C memory + * PROTON-1376 - [C, windows] Release 0.16 build fail - src/protocol.h clobbered + * PROTON-1377 - proton-c core library was not installed + * PROTON-1378 - Two reactor final events generated + * PROTON-1379 - Compile without warnings under g++ 7.0 + * PROTON-1380 - Cyrus SASL accesses strings that have been freed + * PROTON-1382 - Remove bit fields initialization for bool fields + * PROTON-1383 - Add missing includes to fix Solaris compilation + * PROTON-1388 - client fails to decrypt after sasl encryption is negotiated with qpidd + * PROTON-1389 - PROTON-1325: Repair broken fix for python "buffer" type. + * PROTON-1390 - Go fixes to build with gccgo + * PROTON-1391 - Passing NULL as a SASL selected mechanism is crashing pn_do_error on Solaris + * PROTON-1392 - SWIG doesn't define how to export symbols on Solaris + * PROTON-1395 - go: testing with -race fails on some platforms + * PROTON-1385 - make proton-j independently releasable + * PROTON-1386 - disable the PHP binding build by default + * PROTON-1396 - 0.17.0 release tasks +- Install libqpid-proton-core files + +------------------------------------------------------------------- Old: ---- qpid-proton-0.16.0.tar.gz New: ---- qpid-proton-0.17.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qpid-proton.spec ++++++ --- /var/tmp/diff_new_pack.PcD5Qx/_old 2017-08-12 20:00:37.771416135 +0200 +++ /var/tmp/diff_new_pack.PcD5Qx/_new 2017-08-12 20:00:37.799412214 +0200 @@ -18,7 +18,7 @@ %global qpid_proton_soversion 10 Name: qpid-proton -Version: 0.16.0 +Version: 0.17.0 Release: 0 Summary: A high performance, lightweight messaging library License: Apache-2.0 @@ -36,7 +36,9 @@ BuildRequires: openssl-devel BuildRequires: pkgconfig BuildRequires: python-devel +BuildRequires: python-rpm-macros BuildRequires: python-xml +BuildRequires: python3-devel BuildRequires: swig >= 2.0.9 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::Exception) @@ -101,27 +103,56 @@ standard. Using Proton it is trivial to integrate with the AMQP 1.0 ecosystem from any platform, environment, or language. -%package -n python-qpid-proton +%package -n python2-python-qpid-proton Summary: Python language bindings for the Qpid Proton messaging framework Group: Development/Libraries/Python Requires: libqpid-proton%{qpid_proton_soversion} = %{version}-%{release} -Requires: python = %{python_version} +Requires: python = %python2_version +# NOTE: the name on pypi for the package is python-qpid-proton so the name +# for the RPM package should be python-python-qpid-proton (python-$pypi_name) +Provides: python-qpid-proton = %version +Obsoletes: python-qpid-proton < %version +# as long as python2 is the default, provide also the non-versioned python pkg +Provides: python-python-qpid-proton = %version -%description -n python-qpid-proton +%description -n python2-python-qpid-proton Proton is a high performance, lightweight messaging library. It can be used in the widest range of messaging applications including brokers, client libraries, routers, bridges, proxies, and more. Proton is based on the AMQP 1.0 messaging standard. Using Proton it is trivial to integrate with the AMQP 1.0 ecosystem from any platform, environment, or language. -%package -n python-qpid-proton-doc +%package -n python3-python-qpid-proton +Summary: Python language bindings for the Qpid Proton messaging framework +Group: Development/Libraries/Python +Requires: libqpid-proton%{qpid_proton_soversion} = %{version}-%{release} +Requires: python = %{python3_version} +# NOTE: the name on pypi for the package is python-qpid-proton so the name +# for the RPM package should be python-python-qpid-proton (python-$pypi_name) +Provides: python3-qpid-proton = %version +Obsoletes: python3-qpid-proton < %version + +%description -n python3-python-qpid-proton +Proton is a high performance, lightweight messaging library. It can be used in +the widest range of messaging applications including brokers, client libraries, +routers, bridges, proxies, and more. Proton is based on the AMQP 1.0 messaging +standard. Using Proton it is trivial to integrate with the AMQP 1.0 ecosystem +from any platform, environment, or language. + +%package -n python-python-qpid-proton-doc Summary: Documentation for the Python language bindings for Qpid Proton Group: Documentation/Other %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif +# NOTE: the name on pypi for the package is python-qpid-proton so the name +# for the RPM package should be python-python-qpid-proton (python-$pypi_name) +Provides: python-qpid-proton-doc = %version +Obsoletes: python-qpid-proton-doc < %version +# provide documentation for python2 and python3 +Provides: %{python_module python-python-qpid-proton-doc} -%description -n python-qpid-proton-doc +%description -n python-python-qpid-proton-doc Proton is a high performance, lightweight messaging library. It can be used in the widest range of messaging applications including brokers, client libraries, routers, bridges, proxies, and more. Proton is based on the AMQP 1.0 messaging @@ -149,7 +180,6 @@ %build %cmake \ -DPROTON_DISABLE_RPATH=true \ - -DPYTHON_SITEARCH_PACKAGES=%{python_sitearch} \ -DNOBUILD_RUBY=1 \ -DNOBUILD_PHP=1 \ -DSYSINSTALL_PERL=1 \ @@ -157,10 +187,15 @@ -DCHECK_SYSINSTALL_PYTHON=0 make all docs %{?_smp_mflags} +# build for python2 and python3 +(cd proton-c/bindings/python/dist; %python_build) %install %cmake_install +(cd build/proton-c/bindings/python/dist; %python_install) +rm -rf %{buildroot}%{python3_sitearch}/__pycache__ + chmod +x %{buildroot}%{python_sitearch}/*_cproton.so find %{buildroot}%{_datadir}/proton-%{version}/examples/ -type f | xargs chmod -x @@ -177,6 +212,7 @@ %files -n libqpid-proton%{qpid_proton_soversion} %defattr(-,root,root) %{_libdir}/libqpid-proton.so.* +%{_libdir}/libqpid-proton-core.so.* %files -n libqpid-proton-cpp%{qpid_proton_soversion} %defattr(-,root,root) @@ -186,6 +222,7 @@ %defattr(-,root,root) %{_includedir}/proton %{_libdir}/libqpid-proton.so +%{_libdir}/libqpid-proton-core.so %{_libdir}/libqpid-proton-cpp.so %{_libdir}/pkgconfig/libqpid-proton.pc %{_libdir}/pkgconfig/libqpid-proton-core.pc @@ -205,13 +242,21 @@ %{_docdir}/%{name}/api-c %{_docdir}/%{name}/api-cpp -%files -n python-qpid-proton +%files -n python2-python-qpid-proton +%defattr(-,root,root) +%{python2_sitearch}/*_cproton.so +%{python2_sitearch}/cproton.* +%{python2_sitearch}/proton +%{python2_sitearch}/python_qpid_proton-%{version}-py*.egg-info + +%files -n python3-python-qpid-proton %defattr(-,root,root) -%{python_sitearch}/*_cproton.so -%{python_sitearch}/cproton.* -%{python_sitearch}/proton +%{python3_sitearch}/*_cproton*.so +%{python3_sitearch}/cproton.* +%{python3_sitearch}/proton +%{python3_sitearch}/python_qpid_proton-%{version}-py*.egg-info -%files -n python-qpid-proton-doc +%files -n python-python-qpid-proton-doc %defattr(-,root,root) %dir %{_docdir}/%{name} %{_docdir}/%{name}/api-py ++++++ qpid-proton-0.16.0-gcc7.patch ++++++ --- /var/tmp/diff_new_pack.PcD5Qx/_old 2017-08-12 20:00:37.939392606 +0200 +++ /var/tmp/diff_new_pack.PcD5Qx/_new 2017-08-12 20:00:37.939392606 +0200 @@ -1,7 +1,9 @@ ---- a/proton-c/bindings/cpp/include/proton/container.hpp -+++ b/proton-c/bindings/cpp/include/proton/container.hpp -@@ -31,6 +31,10 @@ - +Index: qpid-proton-0.17.0/proton-c/bindings/cpp/include/proton/container.hpp +=================================================================== +--- qpid-proton-0.17.0.orig/proton-c/bindings/cpp/include/proton/container.hpp ++++ qpid-proton-0.17.0/proton-c/bindings/cpp/include/proton/container.hpp +@@ -34,6 +34,10 @@ + #endif #include <string> +#ifdef PN_CPP_HAS_STD_FUNCTION ++++++ qpid-proton-0.16.0.tar.gz -> qpid-proton-0.17.0.tar.gz ++++++ ++++ 73307 lines of diff (skipped)