Hi all,
As title, can %%define macros be delayed till some point later? I have
a package that does some %post script based on the list of files
installed onto system during "make install". So when I try to do:
%install
make install
%define file_list %(cd /somewhere && echo *)
It won't work because it is immediately expanded upon reading spec file,
and "make install" is not executed yet. So is it possible at
all to control the expansion time of macros?
Abel
--
Abel Cheung
Linux counter #256983 | http://counter.li.org
GPG Key: (0xC67186FF) | http://deaddog.org/gpg.asc
Key fingerprint: 671C C7AE EFB5 110C D6D1 41EE 4152 E1F1 C671 86FF
Attachment:
pgp00000.pgp
Description: PGP signature