From c78a5fd4432c596587fc7732145c349caf064c28 Mon Sep 17 00:00:00 2001 From: Brian Lalor Date: Fri, 3 Jul 2015 07:47:48 -0400 Subject: [PATCH 1/2] Fix path to libzmq .so files in RPM spec file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes a packaging error when building the RPM: ``` $ rpmbuild -tb --with libsodium zeromq-4.1.2.tar.gz […] RPM build errors: File not found: …/zeromq-4.1.2-1.el6.x86_64/usr/lib64/libzmq.so.4 File not found: …/zeromq-4.1.2-1.el6.x86_64/usr/lib64/libzmq.so.4.0.0 $ ls …/zeromq-4.1.2-1.el6.x86_64/usr/lib64/libzmq* libzmq.a libzmq.la libzmq.so libzmq.so.5 libzmq.so.5.0.0 ``` --- builds/redhat/zeromq.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builds/redhat/zeromq.spec.in b/builds/redhat/zeromq.spec.in index be467cf9..5d8b8853 100644 --- a/builds/redhat/zeromq.spec.in +++ b/builds/redhat/zeromq.spec.in @@ -112,8 +112,8 @@ This package contains ZeroMQ related development libraries and header files. %{_bindir}/curve_keygen # libraries -%{_libdir}/libzmq.so.4 -%{_libdir}/libzmq.so.4.0.0 +%{_libdir}/libzmq.so.5 +%{_libdir}/libzmq.so.5.0.0 %{_mandir}/man7/zmq.7.gz From a3f4b4ef78ae536f6d72e4f0efc39c79777988b4 Mon Sep 17 00:00:00 2001 From: Brian Lalor Date: Fri, 3 Jul 2015 07:57:31 -0400 Subject: [PATCH 2/2] Remove missing man page from spec file --- builds/redhat/zeromq.spec.in | 1 - 1 file changed, 1 deletion(-) diff --git a/builds/redhat/zeromq.spec.in b/builds/redhat/zeromq.spec.in index 5d8b8853..108f67b6 100644 --- a/builds/redhat/zeromq.spec.in +++ b/builds/redhat/zeromq.spec.in @@ -166,7 +166,6 @@ This package contains ZeroMQ related development libraries and header files. %{_mandir}/man3/zmq_has.3.gz %{_mandir}/man3/zmq_msg_gets.3.gz %{_mandir}/man3/zmq_proxy_steerable.3.gz -%{_mandir}/man7/zmq_epgm.7.gz %{_mandir}/man7/zmq_inproc.7.gz %{_mandir}/man7/zmq_ipc.7.gz %{_mandir}/man7/zmq_pgm.7.gz