Currently, Fedora, CentOS, and RHEL spec files are quite different from each other. I would like to simplify this situation by merging them together. Not the functionality, just the spec file structure.
Cons: It might create a more complex spec file Pros: In future releases this should simplify the work of keeping it up to date across the different distributions.
What would this look like?
I still don't have anything but my idea is to make the CentOS/RHEL spec files as similar as I can to the Fedora one and in the places where I can't, use flags.
From the Go SIG meeting: I'll do a implementation and submit it so everyone can have a better opinion on this (even me, because I still don't know how it would look like)
I recently been working on this and this is the current state of the specfile: https://src.fedoraproject.org/fork/alexsaezm/rpms/golang/blob/eln/f/golang.spec
It works so far: https://copr.fedorainfracloud.org/coprs/alexsaezm/go-merge/build/6073162/
Metadata Update from @alexsaezm: - Issue untagged with: meeting - Issue assigned to alexsaezm
After playing with this idea for a while and have it working, I think it's not a good idea to merge Fedora and RHEL specfiles. While the whole thing works perfectly fine, Fedora users can't use FIPS at this moment and the patches may potentially delay the release of new Go updates. So I'll request an ELN branch and merge it there. I'll keep ELN closed enough to Rawhide.
Closing. This change was merged few months ago on the ELN branch.
Metadata Update from @alexsaezm: - Issue status updated to: Closed (was: Open)