Hello community, here is the log from the commit of package cppzmq-devel for openSUSE:Factory checked in at 2020-05-15 23:52:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/cppzmq-devel (Old) and /work/SRC/openSUSE:Factory/.cppzmq-devel.new.2738 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "cppzmq-devel" Fri May 15 23:52:11 2020 rev:2 rq:805758 version:4.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/cppzmq-devel/cppzmq-devel.changes 2017-05-09 18:00:46.521026092 +0200 +++ /work/SRC/openSUSE:Factory/.cppzmq-devel.new.2738/cppzmq-devel.changes 2020-05-15 23:52:13.213532998 +0200 @@ -1,0 +2,48 @@ +Sat Apr 25 18:17:32 UTC 2020 - Todd R <toddrme2...@gmail.com> + +- Update to version 4.6.0 + * New generic algorithms for sending and receiving multipart messages + * New to_string and to_string_view member functions in message_t + * Less surprising behaviour when move assigning socket_t and context_t + * Return types for send and recv moved into zmq namespace + * Checks for 32/64bit-ness in cppzmqConfigVersion.cmake removed + * fixed issues when compiling with C++11 + * fixed and improved cmake build (in and out of source builds, libzmq discovery, fallback to pkg-config and more) + * updated README.md with clear design goals, supported platforms + * official CI support for Linux, MacOS and Windows + * unit tests infrastructure + * test code coverage brought to 77% + * updated code style (more details in .clang-format) + * socket_t: + + added support for draft ZMQ_SERVER and ZMQ_CLIENT sockets + + added support for draft ZMQ_RADIO and ZMQ_DISH sockets + * poller_t: + + poller_t became thin abstraction layer on zmq_poller_* + + functionality with std::function handlers split and moved to a new active_poller_t in zmq_addon.hpp + + simpler and safer implementation + + made non-copyable, but properly movable + + more consistent and robust error handling + + event type part of handler definition + + fixed a segfault issue when modifying poller_t from a handler + + added empty method indicating presence of registered sockets + * context_t: + + added methods for context options: setctxopt(int option_, int optval_) and int getctxopt(int option_) + * message_t: + + easier construction from iterable type e.g. std::string, std::array + + added != and == operators and equals method marked as deprecated + * multipart_t: + + added an operator<<(std::ostream) to easily print out multipart_t content + * monitor_t: + + build error in constructor #135 + + blocked when used without threads #134 + + move constructor was only partly initialized #130 + * socket::send(): improper EHOSTUNREACH handling #125 + * check for zmq_msg_gets did not properly exclude libzmq 4.0.X #114 + * CMake: + + export targets to config (requires CMake 3.0+ now) #118 #121 + + pkg-config fallback for libzmq installs via autotools #133 + * peekstr & peektyp: peek into parts of messages #124 + * allow empty handler parameter in zmq::poller_t::add() #119 #120 + * poller_t class based on new libzmq poller API #111 + +------------------------------------------------------------------- Old: ---- _service cppzmq-0.0.0+git.20170110.178a910.obscpio cppzmq.obsinfo New: ---- cppzmq-4.6.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cppzmq-devel.spec ++++++ --- /var/tmp/diff_new_pack.teNxXw/_old 2020-05-15 23:52:14.589535649 +0200 +++ /var/tmp/diff_new_pack.teNxXw/_new 2020-05-15 23:52:14.593535657 +0200 @@ -1,6 +1,7 @@ # # spec file for package cppzmq-devel # +# Copyright (c) 2020 SUSE LLC # Copyright (c) 2015, Martin Hauke <mar...@gmx.de> # # All modifications and additions to the file contributed by third parties @@ -12,41 +13,43 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: cppzmq-devel -Version: 0.0.0+git.20170110.178a910 +Version: 4.6.0 Release: 0 -Summary: A C++ binding for 0MQ +Summary: Header-only C++ binding for libzmq License: MIT -Group: Development/Libraries/C and C++ -Url: https://github.com/zeromq/cppzmq -Source: cppzmq-%{version}.tar.xz -#needs a czmq version first -#BuildRequires: cmake -#BuildRequires: gcc-c++ -#BuildRequires: zeromq-devel -Requires: zeromq-devel -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch +URL: https://github.com/zeromq/cppzmq +Source: https://github.com/zeromq/cppzmq/archive/v%{version}.tar.gz#/cppzmq-%{version}.tar.gz +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: pkgconfig +BuildRequires: pkgconfig(libzmq) +Requires: pkgconfig(libzmq) %description -A simple C++ binding for 0MQ +cppzmq is a header-only C++ binding for libzmq. %prep -%setup -q -n cppzmq-%{version} +%autosetup -n cppzmq-%{version} %build +%cmake \ + -DCPPZMQ_BUILD_TESTS=OFF \ + -DCPPZMQ_CMAKECONFIG_INSTALL_DIR=%{_libdir}/cmake/cppzmq +%cmake_build %install -mkdir -p %{buildroot}%{_includedir}/ -install -m 644 *.hpp %{buildroot}%{_includedir}/ +%cmake_install %files -%defattr(-,root,root) -%doc LICENSE README -%{_includedir}/*.hpp +%license LICENSE +%doc README.md +%{_includedir}/zmq.hpp +%{_includedir}/zmq_addon.hpp +%{_libdir}/cmake/cppzmq/ %changelog