RPM Community Forums

Mailing List Message of <rpm-users>

Re: RPM 5.0.0 -- in place setup and building -- how ?

From: Ralf S. Engelschall <rse+rpm-users@rpm5.org>
Date: Fri 01 Feb 2008 - 14:55:41 CET
Message-ID: <20080201135541.GA848@engelschall.com>
On Fri, Feb 01, 2008, Stefan Westmeier wrote:

> Tried to combine --define and --macros and failed with using --define.
> Can I get an example of how to use --define ?

| $ rpm --define 'foo bar' --eval '%{foo}'
| bar

                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
Received on Fri Feb 1 14:58:01 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.