On Mon, Jun 04, 2012 at 02:48:28PM -0400, Matt Wagner wrote:
The way Katello handles this is apparently that they build the
converge-ui-devel RPM from converge-ui, and that is a BuildRequires
in Katello's RPM spec, so that the files get pulled in. In their case
they're using jammit for asset compilation, so we're not doing exactly
the same thing, but I think the concept is good. So we should update our
RPM spec to do something similar. As we do this, we'd also need to
enumerate all of the files in our RPM spec.
I'll take a stab at getting this in motion today.
Unfortunately, I didn't really get anywhere. :-\
FWIW, Katello has existing builds of converge-ui-devel here:
http://repos.fedorapeople.org/repos/katello/katello/fedora-16/x86_64/
I'm not sure that aping the RPM is really the ideal solution, though.
Just a data point. ;)
While talking about the options, one problem I came to realize is that
making this a BuildRequires and including it there implies that this
will only work on Fedora/RHEL -- the tarball itself wouldn't be any use,
and I think that's bad.
The simpler approach here, which I initially thought was ugly and hacky,
would be to just include converge-ui/ in our RPMs, sans any RPM
dependency or whatnot. But now I wonder if that's actually preferable.
I'm not sure what best practices are when your project wants to include
something via a git submodule, though.
-- Matt