On Thu, Jan 9, 2020 at 5:19 AM Dario Lesca <d.lesca(a)solinos.it> wrote:
I have follow this quick start howto:
and i have correctly upload and rebuild my src.rpm package on copr.
Now I must modify a source file and .spec file then rebuild the package.
What is the best way to procede?
I don't know if this helps but I just started using a COPR for alphas/betas
of projects already in Fedora, my workflow is as follows:
1. Fork the project from src.fedoraproject.org
2. git clone the forked project
3. Add a "upstream" remote back to fedora dist-git.
4. Update the spec file (I use rpmdev-bumpspec -n <version> -c "Update to
5. Download the new source files and upload them to the forked dist-git via
rpkg (I have no idea where this goes and I don't think it's necessary, see
6. Commit the changes (to the fork, not the fedora dist git)
7. rpkg build <project-name>
This creates an SRPM and uploads it to COPR instead of having COPR check
out the forked project like fedpkg does. So I really don't need to upload
the sources to the lookaside cache.