On Sat, Jan 09, 2010 at 08:19:09PM +0000, Max Ivanov wrote: > How to deal with git submodules? Upstream uses them in some places and > I don't know how to put their content in the final source tree prior > to %build stage. Is it even possible? Due to the fundamental problem already described in this thread, you cannot use git submodules AS IS to build packages using gear. There is simple workaround you can use to overcome this problem: 1. Extract each submodule into separate tarball using appropriate .gear/rules; this is trivial because you know commit ids. 2. Make sure that your build commit inherits to all these submodule commits. Unfortunately, there are no means in gear-update-*whatever* yet to automate this work. -- ldv