Le 2020-02-27 12:59, clime a écrit :
Hi,
can you, please, show an example of such package? I was searching
through some
golang packages because I was curious how it works but couldn't find
an example
A Go example:
https://src.fedoraproject.org/rpms/golang-x-build
A non-Go example:
https://src.fedoraproject.org/rpms/impallari-dancing-script-fonts
In both cases the spec calls a macro (not the same one in both specs)
that causes one or several disprefixNUMBER variables to be computed
The result then ends in Release via
https://src.fedoraproject.org/rpms/fedora-release/blob/master/f/fedora-re...
The font spec example calls the macro in redhat-rpm-config directly, the
go example calls it through a Go-specific macro in fonts-rpm-macros
Regards,
--
Nicolas Mailhot