I have follow this quick start howto: https://docs.pagure.org/copr.copr/user_documentation.html#quick-start
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 must modify this files in local, rebuild src.rpm in local then re- publishing it to copr, or I can modify these files on copr?
Let's me know.
Many thanks
On Thu, Jan 9, 2020 at 5:19 AM Dario Lesca d.lesca@solinos.it wrote:
I have follow this quick start howto: https://docs.pagure.org/copr.copr/user_documentation.html#quick-start
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 <version>." <spec>) 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 below). 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.
Thanks, Richard