Background.
$ rpmbuild --version RPM version 4.3.3
I am working on a spec file that needs to process a list of files in multiple scriptlets. DRY (don't repeat youself) has me defining the list once as a macro which is expanded into the various helper scripts. Maintaining the list is a pain since I haven't seen a way to avoid putting all the files on the same line.
%define LIST \ a \ b
gives an error
%define LIST a\ b\
gives an error as well
%define LIST a %define LIST %LIST b
Fails due to a recursion error