I wanted to build an SRPM locally to inspect a possible packaging bug, but I have been unable to find any documentation on how to do that. I also want to build a different package for copr, so would be good to know how to adapt my local workflow to use fedora infrastructure. Can anyone point me to some resources?
This is what I would like to do:
I found an issue in one of the scripts packaged with kitty. I would like to investigate where the bug is introduced, and submit a patch. I need to be able to see build logs and inspect the build root. I downloaded the srpm with dnf download --source kitty, but can’t figure out the next steps.
I would like to package a few other open source projects for copr. I have done this in the past, but that was quite some years ago. I already looked at fedpkg, but that seems to need a repo, not building from SRPM.