Additional rpm spec file macros

Hi,

Could someone please assist me with these macros? There isn’t much information in the openSUSE documentation. A template of some kind will undoubtedly be beneficial to me. I can build a package without these macros, but I’d like to learn how to use them to satisfy my curiosity.

%{echo:message}:

%{error:message}:

%{expand:expression}:

%{F:file_exp}:

%{P:patch_exp}:

%{S:source_exp}:

%trace

%{uncompress:filename}:

%{warn:message}:

Thanks.

You could start with https://rpm-software-management.github.io/rpm/manual/macros.html

1 Like

You could start with rpm.org - Macro syntax

Thanks, those macros are builtin macros.