Hello community, here is the log from the commit of package qpid-proton for openSUSE:Factory checked in at 2018-01-09 14:37:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/qpid-proton (Old) and /work/SRC/openSUSE:Factory/.qpid-proton.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "qpid-proton" Tue Jan 9 14:37:25 2018 rev:11 rq:562490 version:0.17.0 Changes: -------- --- /work/SRC/openSUSE:Factory/qpid-proton/qpid-proton.changes 2017-09-25 13:49:37.805449093 +0200 +++ /work/SRC/openSUSE:Factory/.qpid-proton.new/qpid-proton.changes 2018-01-09 14:37:27.652065895 +0100 @@ -1,0 +2,7 @@ +Wed Nov 15 16:20:49 UTC 2017 - jmate...@suse.com + +- update BuildRequires macros to use the %python_module call +- conditional build of python2 packages +- do not package Python API docs, drop epydoc requirement + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ qpid-proton.spec ++++++ --- /var/tmp/diff_new_pack.OW1our/_old 2018-01-09 14:37:29.327987285 +0100 +++ /var/tmp/diff_new_pack.OW1our/_new 2018-01-09 14:37:29.331987097 +0100 @@ -32,18 +32,16 @@ Patch104: qpid-proton-fix-dh-openssl-1.1.0.patch # PATCH-FIX-UPSTREAM - qpid-proton-fix-session-resume-openssl-1.1.0.patch - Rework Openssl session resume code to work with openssl 1.1 Patch105: qpid-proton-fix-session-resume-openssl-1.1.0.patch +BuildRequires: %{python_module devel} +BuildRequires: %{python_module xml} BuildRequires: cmake BuildRequires: doxygen -BuildRequires: epydoc BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libuuid-devel 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) @@ -107,6 +105,7 @@ standard. Using Proton it is trivial to integrate with the AMQP 1.0 ecosystem from any platform, environment, or language. +%if 0%{?have_python2} %package -n python2-python-qpid-proton Summary: Python language bindings for the Qpid Proton messaging framework Group: Development/Libraries/Python @@ -125,6 +124,7 @@ 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. +%endif %package -n python3-python-qpid-proton Summary: Python language bindings for the Qpid Proton messaging framework @@ -143,26 +143,6 @@ 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 -# 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) -Group: Documentation/Other -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} -%if 0%{?suse_version} >= 1120 -BuildArch: noarch -%endif - -%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 -standard. Using Proton it is trivial to integrate with the AMQP 1.0 ecosystem -from any platform, environment, or language. - %package -n perl-qpid-proton Summary: Perl language bindings for Qpid Proton messaging framework Group: Development/Libraries/Perl @@ -241,11 +221,13 @@ %{_docdir}/%{name}/api-c %{_docdir}/%{name}/api-cpp +%if 0%{?have_python2} %files -n python2-python-qpid-proton %{python2_sitearch}/*_cproton.so %{python2_sitearch}/cproton.* %{python2_sitearch}/proton %{python2_sitearch}/python_qpid_proton-%{version}-py*.egg-info +%endif %files -n python3-python-qpid-proton %{python3_sitearch}/*_cproton*.so @@ -253,10 +235,6 @@ %{python3_sitearch}/proton %{python3_sitearch}/python_qpid_proton-%{version}-py*.egg-info -%files -n python-python-qpid-proton-doc -%dir %{_docdir}/%{name} -%{_docdir}/%{name}/api-py - %files -n perl-qpid-proton %{perl_vendorarch}/*