Le lundi 20 avril 2020 à 12:27 +0200, Vít Ondruch a écrit :
$ rpm -qa *srpm* fonts-srpm-macros-2.0.5-1.fc33.noarch nim-srpm-macros-3-2.fc32.noarch openblas-srpm-macros-2-7.fc32.noarch gnat-srpm-macros-4-11.fc32.noarch rust-srpm-macros-13-2.fc33.noarch fpc-srpm-macros-1.3-1.fc32.noarch python-srpm-macros-3.8-2.fc33.noarch ghc-srpm-macros-1.5.0-2.fc32.noarch go-srpm-macros-3.0.8-5.fc32.noarch efi-srpm-macros-4-4.fc32.noarch ocaml-srpm-macros-6-2.fc32.noarch perl-srpm-macros-1-34.fc32.noarch qt5-srpm-macros-5.13.2-2.fc32.noarch
I don't remember I would ever need any of them.
Those are domain-specific macros. You use them for specific domain packages. Some of those are hard requirements for a 4-digit number of packages.
You don’t use them with C/C++ software because autoconf/automake/make/C/C++ stuff is hidden in redhat-rpm-config & rpm for historical reasons (and quite non-regular by modern domain standards, making automation hard).