From: Arkadiy on
Hi all,

I am having a weird problem that is present only on my machine, but
doesn't seem to exist on any other machines in our network.

Basically, whenever I supply --target option to rpmbuild, -D option
seems to stop working, like:

the following gets macro expanded:

rpmbuild -bb -D '_foo expanded' spec.spec
rpmbuild -bb --target=i386-linux --define='_foo expanded' spec.spec

but the following doesn't (the macro appears as %{foo} in the output):

rpmbuild -bb --target=i386-linux -D '_foo expanded' spec.spec

My version info:
Linux version 2.6.9-22.ELsmp (bhcompile(a)porky.build.redhat.com) (gcc
version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Mon Sep 19 18:32:14
EDT 2005

Have anybody seen this kind of problem?

Thanks in advance,
Arkadiy
 | 
Pages: 1
Prev: Audit Reports
Next: The Minutiae of a TCP Client