[zeromq-dev] modified spec file for rhel6 beta2

Mikko Koppanen mikko at ibuildings.com
Sun Aug 8 22:58:35 CEST 2010


On Sun, Aug 8, 2010 at 6:59 PM, Sebastian Otaegui <feniix at gmail.com> wrote:
> Hello,
> I am doing some tests on rhel6, trying to install mongrel2.
> I downloaded the tar file and wanted to build an rpm for rhel6.
> The first obstacle was that uuid-devel is part of the RHEL6 OPTIONAL
> repository.
> The second obstacle is that some man files where part of the package but
> weren't mentioned in the spec file.
> In regards to uuid-devel I have the following question:
> There are two sets uuid packages:
> libuuid/libuuid-devel is the uuid implementation provided by the folks of
> the e2fsprogs libraries
> and
> uuid/uuid-devel is the version provided by the OSSP guys.

Hi Sebastian,

if I remember correctly 'libuuid' package is not available in RHEL5/CentOS5 (?)

Maybe the following would work:

%if %{?rhel}%{!?rhel:0} >= 6
BuildRequires: libuuid-devel
%else
BuildRequires: uuid-devel
%endif



-- 
Mikko Koppanen



More information about the zeromq-dev mailing list