#1410 build_srpm: Wait until after running the sources command to check for alt_sources_dir
Merged by mikem. Opened by bstinson.
bstinson/koji fix-rpms-layout  into  master

Download 1410.patch

In the RPM layout, it's possible that the SOURCES directory might be
completely empty save for the lookaside payload. In this case a SOURCES
directory wouldn't exist in SCM, and wouldn't be created until the
sources command is run.

Moving this code block down lets us run the sources command before we try to decide if we should look for the RPM layout or not.

pretty please pagure-ci rebuild

:thumbsup:

Commit c3764e51 fixes this pull-request

Pull-Request has been merged by mikem

Metadata