"Jesus M. Rodriguez" <jesusr(a)redhat.com> writes:
But it complains about not having a spec file. Which makes sense
as there is no spec file at the top of the tree.
We solved a similar issue (building multiple branches from same sources)
by passing some information to make; e.g. see
'make' extracts then the branch-id out of the scm revision and set
e.g. correct %dist.
Should be easy to adapt for your case.