Re: Multiline %defines

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

 



On Wed, 2005-07-20 at 09:26 -0400, Matthew Miller wrote:
> 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?
To be tried. 

However, I've been told [1]

%define __os_install_post ./brp-custom-compress; ./brp-custom-strip
was working, but haven't had a chance this try it yet.


Another obvious work-around would be not to use __os_install_post and to
explicitly call the brp* scripts:

%define __os_install_post %{nil}
...
%install
...
./brp-custom-compress
./brp-custom-strip

Does anybody recall since when (which rpm version, which RHL/FC release)
this issue had been fixed?

Ralf

[1] I don't have rh7.3, I just received a report from a rh7.3 user who
is trying to build one of my rpms.


--
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