Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define --build-in-place in more clear and actually supportable way
Defining in-place builds to skip %prep suddenly makes this feature start looking supportable, because it's no longer ambiguous every which way: %setup is supposed to have all manner of side-effects that in-place builds would skip, including cd'ing to %buildsubdir. It's not possible for calling %setup to both have and not have side-effects. Besides %setup ambiguity, %prep typically contains patch applications and those cannot be meaningfully done on in-place build because then the build is no longer repeatable. Update the man page description to describe the new %buildsubdir based behavior, and make %prep skipped on in-place builds no matter what other options got passed. This WILL break some existing users if they rely on %prep getting partially executed, but that's how it is with ambiguity. If there's another non-ambiguous way to solve this, I'm not seeing it. Fixes: rpm-software-management#3208
- Loading branch information