Multiline %defines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux