On Thu, Jan 9, 2020 at 5:19 AM Dario Lesca <d.le...@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
_______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org