Hi,
lejeczek via users wrote:
how do you pass vars to rpmbuild for definition? eg
rpmbuild --define \'"${_definition2}"\'
I've been fiddling with ways to escape, but none is fricking working..
I mean, rpmbuild rushes to work(no errors nor failure) so if you try just
command line do not believe it, because later as it executes %if you will
see process does not see these definitions.
The format would be --define '_definition2 value'. The you
would use %{_definition2} in your spec file, (which I'm
presuming you already have, it's just not being defined).
The man page explains is this way:
-D, --define='MACRO EXPR'
Defines MACRO with value EXPR.
--
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It's not denial. I'm just very selective about what I accept as
reality.
-- Calvin ("Calvin and Hobbes")