Page "Using the Koji Build System" had a section about Koji scratch builds, listing various way of doing them using 'koji' and 'fedpkg'. This listing was not specifically useful, because:
It was not comprehensive, i.e. it just enumerated possible arguments, but did not cover all of them.
It did not have a clear position if koji or fedpkg should be preferred, and similarly for 'fedpkg build --scratch' and 'fedpkg scratch-build'.
It did not differentiate between rare needs like building against defined Koji target or doing a scratch build from a pushed dist-git commit, and the common need of building from local changes.
It suggested calling 'rpmbuild' directly, without anything in these docs explaining how to configure it correctly.
Actually, only the most common case is worth documenting like this, and it should be in "Package Maintenance Guide". Such simplification is done here, by erasing the whole section and documenting 'fedpkg scratch-build --srpm' in the Guide.
Page "Using the Koji Build System" had a section about Koji scratch builds, listing various way of doing them using 'koji' and 'fedpkg'. This listing was not specifically useful, because:
It was not comprehensive, i.e. it just enumerated possible arguments, but did not cover all of them.
It did not have a clear position if koji or fedpkg should be preferred, and similarly for 'fedpkg build --scratch' and 'fedpkg scratch-build'.
It did not differentiate between rare needs like building against defined Koji target or doing a scratch build from a pushed dist-git commit, and the common need of building from local changes.
It suggested calling 'rpmbuild' directly, without anything in these docs explaining how to configure it correctly.
Actually, only the most common case is worth documenting like this, and it should be in "Package Maintenance Guide". Such simplification is done here, by erasing the whole section and documenting 'fedpkg scratch-build --srpm' in the Guide.