Commit 2568947a authored by Sebastian Otaegui's avatar Sebastian Otaegui Committed by Martin Sustrik

Add support for RHEL6 in the spec file

Signed-off-by: 's avatarSebastian Otaegui <feniix@gmail.com>
parent 57428db8
...@@ -31,6 +31,7 @@ Pavel Gushcha <pavimus@gmail.com> ...@@ -31,6 +31,7 @@ Pavel Gushcha <pavimus@gmail.com>
Pavol Malosek <malosek@fastmq.com> Pavol Malosek <malosek@fastmq.com>
Pieter Hintjens <ph@imatix.com> Pieter Hintjens <ph@imatix.com>
Piotr Trojanek <piotr.trojanek@gmail.com> Piotr Trojanek <piotr.trojanek@gmail.com>
Sebastian Otaegui <feniix@gmail.com>
Steven McCoy <steven.mccoy@miru.hk> Steven McCoy <steven.mccoy@miru.hk>
Tamara Kustarova <kustarova.tamara@gmail.com> Tamara Kustarova <kustarova.tamara@gmail.com>
Tero Marttila <terom@fixme.fi> Tero Marttila <terom@fixme.fi>
......
...@@ -8,7 +8,11 @@ URL: http://www.zeromq.org/ ...@@ -8,7 +8,11 @@ URL: http://www.zeromq.org/
Source: http://www.zeromq.org/local--files/area:download/%{name}-%{version}.tar.gz Source: http://www.zeromq.org/local--files/area:download/%{name}-%{version}.tar.gz
Prefix: %{_prefix} Prefix: %{_prefix}
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root 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 BuildRequires: uuid-devel, gcc, make, gcc-c++, libstdc++-devel
%endif
Requires: uuid, libstdc++ Requires: uuid, libstdc++
# Build pgm only on supported archs # Build pgm only on supported archs
...@@ -92,6 +96,7 @@ This package contains ZeroMQ related development libraries and header files. ...@@ -92,6 +96,7 @@ This package contains ZeroMQ related development libraries and header files.
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_includedir}/zmq.h %{_includedir}/zmq.h
%{_includedir}/zmq.hpp %{_includedir}/zmq.hpp
%{_includedir}/zmq_utils.h
%{_libdir}/libzmq.la %{_libdir}/libzmq.la
%{_libdir}/libzmq.a %{_libdir}/libzmq.a
...@@ -101,6 +106,8 @@ This package contains ZeroMQ related development libraries and header files. ...@@ -101,6 +106,8 @@ This package contains ZeroMQ related development libraries and header files.
%{_mandir}/man3/zmq_bind.3.gz %{_mandir}/man3/zmq_bind.3.gz
%{_mandir}/man3/zmq_close.3.gz %{_mandir}/man3/zmq_close.3.gz
%{_mandir}/man3/zmq_connect.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_init.3.gz
%{_mandir}/man3/zmq_msg_close.3.gz %{_mandir}/man3/zmq_msg_close.3.gz
%{_mandir}/man3/zmq_msg_copy.3.gz %{_mandir}/man3/zmq_msg_copy.3.gz
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment