On Fri, Jun 19, 2026 at 03:38:37PM +0200, Florian Weimer wrote:
> The Packaging Guidelines currently say this, under Spec Legibility:
>
> | To help facilitate legibility, only macros and conditionals for Fedora
> | and EPEL are allowed to be used in Fedora Packages. Use of macros and
> | conditionals for other distributions, including Fedora derivatives, is
> | not permitted in spec files of packages in the main Fedora
> | repositories unless those macros and conditionals are also present in
> | Fedora.
>
> <https://docs.fedoraproject.org/en-US/packaging-guidelines/#_spec_file_encoding>
>
> I would like to get this changed to explicitly permit %fedora, %rhel,
> %centos, %epel. And augment this list with %hummingbird, now that
> Hummingbird images are part of the Fedora family.
>
> What's the best way to build consensus for this kind of a change to the
> Packaging Guidelines, and implement it?
IMHO we already defacto have consensus for allowing the use
of %rhel because the current guideline is widely ignored[1]:
# grep -l '%{?rhel}' src/all-fedora/*/*.spec | wc -l
1776
The guidelines just need fixing to match reality, which is as
simple as making the rst doc change as a pull request for:
https://forge.fedoraproject.org/packaging/guidelines/src/branch/main/guidelines/modules/ROOT/pages/index.adoc#_spec_legibility
One you allow %rhel, then %centos/%epel naturally follow. They
have minimal usage today, but that is expected as 99% of the
time it is sufficient to use %fedora/%rhel
# grep -l '%{?centos}' src/all-fedora/*/*.spec | wc -l
26
# grep -l '%{?epel}' src/all-fedora/*/*.spec | wc -l
54
With regards,
Daniel
[1] This is a clone of all of Fedora dist-git updated about
2 months ago or so.
--
|: https://berrange.com ~~ https://hachyderm.io/@berrange :|
|: https://libvirt.org ~~ https://entangle-photo.org :|
|: https://pixelfed.art/berrange ~~ https://fstop138.berrange.com :|
--
_______________________________________________
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://forge.fedoraproject.org/infra/tickets/issues/new