Hi,
Is there a portable (portable across different versions of rpm) way to override specify defines which span across several lines, from inside of a spec file?
Background: I am trying to override __os_install_post from inside of a spec file, similar to this: .. %define __os_install_post \ ./brp-custom-compress \ ./brp-custom-strip \ %{nil} .. This seems to work on rpm-4.4.x (FC4), but seems to fail with rpm-4.0.x (rh7.3):
# rpmbuild tmp.spec .... error: Macro %__os_install_post has empty body error: line 55: Unknown tag: ./brp-compress \
AFAIS, rpm-4.0.x chokes on the line continuation char.
Ralf