[Fedora-packaging] Multiline %defines

Matthew Miller mattdm at mattdm.org
Wed Jul 20 13:26:33 UTC 2005


On Wed, Jul 20, 2005 at 03:07:29PM +0200, Ralf Corsepius wrote:
> 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}
[...]
> AFAIS, rpm-4.0.x chokes on the line continuation char.

Haven't tried it, but what if you do:

%define __os_install_post "./brp-custom-compress; ./brp-custom-strip"

and dodge the issue?


-- 
Matthew Miller           mattdm at mattdm.org        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 79 degrees Fahrenheit.




More information about the Fedora-packaging mailing list