On Fri, 4 Nov 2011, Domenico Chierico wrote:

> I'm trying to build rpms for 4.5 but I'm quite new to mock system.
>
> I need to add support for ruby in freeswitch, so  I've modified the spec
> file and run the build script. everithing seems all right even if the
> fact that ruby.h seems to be missed into the chroot env.
>
> How can I add that deps?.

Add to your .spec file a line as follows:

BuildRequires:          ruby-devel

which contains the wanted file: ruby.h

Mock will then 'pick up' that needed package and add it to the 
build root

-- Russ herrold
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to