Thanks. That will allow me to get rid of my ~/.rpmmacros file, which will simplify our package building procedure. I only have a couple of variables in the ~/.rpmmacros (_topdir and myversion), and --define worked for both of them, even without the ~/.rpmmacros file. Herb Quoting Luciano Miguel Ferreira Rocha <strange@xxxxxxxxxxxxx>: > On Thu, Jul 06, 2006 at 02:53:17PM -0400, Jeff Johnson wrote: > > %myversion %(echo $SW_VERSION) > > Or, of course: rpmbuild package.spec --define "myversion $SW_VERSION" > > -- > lfr > 0/0 > > _______________________________________________ > Rpm-list mailing list > Rpm-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/rpm-list > _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list