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-release.spec#_488
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
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx