One more question. Is it possible to check if BuildArch: noarch has been
set? I tried checking %{buildarch} with no luck.Iñaki On Fri, 17 Oct 2025 at 13:12, Iñaki Ucar <[email protected]> wrote: > > > On Fri, 17 Oct 2025 at 10:58, Miro Hrončok <[email protected]> wrote: > >> 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. >> > > Works like a charm, thanks. > > -- > Iñaki Úcar > -- Iñaki Úcar
-- _______________________________________________ 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
