On Jan 9, 2009, at 4:45 PM, Jeff Putsch wrote:
> Thanks for the help.
>
> The approach is enlightening.
>
There is an even simpler solution, without messing with macro logic at
all:
1) Put in /usr/lib/rpm/macros
%_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}-%%{OS}.rpm
2) Put in /usr/lib/rpm/noarch-linux
%_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%noarch.rpm
Macro values are stacks, and the noarch value will be pushed on top
of the /usr/lib/rpm/macros default definition.
hth
73 de Jeff
- application/pkcs7-signature attachment: smime.p7s
Received on Fri Jan 9 23:08:03 2009