On 16. 10. 25 20:41, Iñaki Ucar wrote:
Dear all,

TL;DR: how do packages like pyproject-srpm-macros and the like end up in the default buildroot of different versions of Fedora (official, therefore Koji),

By being Required by redhat-rpm-config which itself is pulled in by being in the @build and @buildsystem-build comps groups.

One of them is defined in Koji, the other is in https://pagure.io/fedora-comps/blob/main/f/comps-f44.xml.in#_393

EPEL, but also Copr chroots?

For EPEL it's either Required by redhat-rpm-config from RHEl or by epel-rpm-macros. FOr Copr chroots, it's again the same, the groups are defined in chroot_setup_cmd e.g. in https://github.com/rpm-software-management/mock/blob/main/mock-core-configs/etc/mock/templates/fedora-rawhide.tpl#L6

Is there any documentation about this or could somebody guide me in this process?

I have a TODO item to write packaging guidelines for this but I never have time to do it :(

I've seen that they are required in redhat- rpm-config, so it's fair to assume that one should open a PR there to begin with.

Correct.

But then I have seen that e.g. Copr has different versions of this package compared to e.g. Koji, right?

It might have a tad older one, as it uses the mirrored repos by default, but eventually it will reach Copr as well.

Longer explanation: I would like to submit a self-contained change to bring R macros to the 21st century, make use of dynamic buildrequires for R packages and so on, so that the R packaging experience is on par with other languages. I'm planning an %R_meta macro, similar to %gometa, but for this to work, as you know, the default buildroot must have it in the first place via some R-srpm- macros (which currently does not exist). I did not find any piece of documentation describing such a procedure, but virtually all the other languages have their <you_name_it>-srpm-macros added there, so I assume there are a number of people here that may help me navigate this.

I am not great fan of the %...meta approach, but yes, I can help you review the plan.

--
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