[PATCH] Allow spec file to be in a different path than /

Mike McLean mikem at redhat.com
Thu Aug 14 22:10:00 UTC 2014


On 08/13/2014 06:05 PM, Mike McLean wrote:
> This much gets you halfway there, but it looks like the system is just
> going to choke later on having the sources under SOURCES instead of the
> git root dir.
> 
> I guess you could set up a source_cmd to move or link the sources
> around, but that's hardly a clean solution.
> 
> I wouldn't mind teaching koji to handle this layout, but it looks like
> it might be a little more involved than just the spec portion (unless
> I'm missing something). Did you have a solution for the SOURCES dir?

Actually not that complicated after all. I did add an option to turn the
support off in case it causes a problem (possible that someone could
have a SOURCES dir in their checkout for some other reason).

Anyway, here is where I'm at. Seems to be working.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: koji-rpm-source-layout.patch
Type: text/x-patch
Size: 2118 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/buildsys/attachments/20140814/aac0eb33/attachment.bin>


More information about the buildsys mailing list