On 17. 10. 25 10:08, Iñaki Ucar wrote:
On Thu, 16 Oct 2025 at 21:41, Miro Hrončok <[email protected] <mailto:[email protected]>> wrote:

    On 16. 10. 25 21:11, Iñaki Ucar wrote:
     > I naively tried to rebuild a new version of redhat-rpm-config in Copr
    with the
     > new Requires, but it didn't work.

    That's because Copr builds SRPMs in a different chroot. I am afraid you can
    only test this locally.


I see. And do you know whether mock's --additional-package flag is suitable for this? Or do I need to build an actual image and supply it via --buildroot-image?

I don't think you need to deal with the image at all.

--additional-package might work but what you really work is to point your mock config to your copr (or other) repository and then use mock to 1) build SRPM 2) build the RPM.

See e.g. https://copr.fedorainfracloud.org/coprs/g/python/python3.15/ for how to create a custom mock config.

Then:

mock -r your_config --resultdir=./ --buildsrpm --spec xxx.spec --source xxx-1.0.0.tar.gz
mock -r your_config xxx...src.rpm

--
Miro Hrončok
--
Phone: +420777974800
Fedora Matrix: mhroncok

--
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to