[zeromq-dev] [PATCH] Add support for RHEL6 in the spec file

Sebastian Otaegui feniix at gmail.com
Tue Oct 12 21:09:49 CEST 2010


And just in case also inline

>From 5adf90dc48a4be4a65dd329b3f99143f57885b95 Mon Sep 17 00:00:00 2001
From: Sebastian Otaegui <feniix at gmail.com>
Date: Tue, 12 Oct 2010 14:06:03 -0500
Subject: [PATCH] Added rhel6 support to the spec file
 Signed-off-by: Sebastian Otaegui <feniix at gmail.com>

---
 builds/redhat/zeromq.spec |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/builds/redhat/zeromq.spec b/builds/redhat/zeromq.spec
index 781c65d..28e5c94 100644
--- a/builds/redhat/zeromq.spec
+++ b/builds/redhat/zeromq.spec
@@ -8,7 +8,11 @@ URL:           http://www.zeromq.org/
 Source:
http://www.zeromq.org/local--files/area:download/%{name}-%{version}.tar.gz
 Prefix:        %{_prefix}
 Buildroot:     %{_tmppath}/%{name}-%{version}-%{release}-root
+%if %{?rhel}%{!?rhel:0} >= 6
+BuildRequires: libuuid-devel, gcc, make, gcc-c++, libstdc++-devel
+%else
 BuildRequires: uuid-devel, gcc, make, gcc-c++, libstdc++-devel
+%endif
 Requires:      uuid, libstdc++

 # Build pgm only on supported archs
@@ -92,6 +96,7 @@ This package contains ZeroMQ related development libraries
and header files.
 %defattr(-,root,root,-)
 %{_includedir}/zmq.h
 %{_includedir}/zmq.hpp
+%{_includedir}/zmq_utils.h

 %{_libdir}/libzmq.la
 %{_libdir}/libzmq.a
@@ -101,6 +106,8 @@ This package contains ZeroMQ related development
libraries and header files.
 %{_mandir}/man3/zmq_bind.3.gz
 %{_mandir}/man3/zmq_close.3.gz
 %{_mandir}/man3/zmq_connect.3.gz
+%{_mandir}/man3/zmq_errno.3.gz
+%{_mandir}/man3/zmq_getsockopt.3.gz
 %{_mandir}/man3/zmq_init.3.gz
 %{_mandir}/man3/zmq_msg_close.3.gz
 %{_mandir}/man3/zmq_msg_copy.3.gz
-- 
1.7.0.4




On Tue, Oct 12, 2010 at 2:07 PM, Sebastian Otaegui <feniix at gmail.com> wrote:

> How about now :)
>
>
>
> On Tue, Oct 12, 2010 at 1:59 PM, Martin Lucina <mato at kotelna.sk> wrote:
>
>> feniix at gmail.com said:
>> > Ok, I added the patch in the format specified.
>>
>> Thanks, it's not quite right, OK to use your full name in the
>> Signed-off-by
>> tag? (Sebastian Otaegui)
>>
>> -mato
>>
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>
>
>
> --
> Those who do not understand Unix are condemned to reinvent it, poorly.
> Any sufficiently recent Microsoft OS contains an ad hoc,
> informally-specified, bug-ridden, slow implementation of half of Unix.
>



-- 
Those who do not understand Unix are condemned to reinvent it, poorly.
Any sufficiently recent Microsoft OS contains an ad hoc,
informally-specified, bug-ridden, slow implementation of half of Unix.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101012/8d099f2a/attachment.htm>


More information about the zeromq-dev mailing list