[Fedora-packaging] Multiline %defines
rc040203 at freenet.de
Wed Jul 20 13:07:29 UTC 2005
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 \
This seems to work on rpm-4.4.x (FC4), but seems to fail with
# 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.
More information about the Fedora-packaging