Re: Question about copr: howto update my project and rebuild the package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 9, 2020 at 5:19 AM Dario Lesca <d.lesca@xxxxxxxxxx> 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 <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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux