[XForms] One more piece of rpm magic needed

Angus Leeming angus.leeming at btopenworld.com
Fri May 7 08:51:44 EDT 2004


On Friday 07 May 2004 1:47 pm, Jean-Marc Lasgouttes wrote:
> >>>>> "Angus" == Angus Leeming <angus.leeming at btopenworld.com>
> >>>>> writes:
>
> Angus> So I guess one more piece of post install magic is needed.
>
> Angus> I guess it's as simple as sed
> Angus> "/^libdir=/s@/usr@${RPM_INSTALL_PREFIX}@"
>
> Except that you can't use a slash as sed delimiter here, of course.

Ahhhh, but I can. Patch attached works perfectly. Indeed the above is 
the *best* way to do things IMO. 

(The identifying regex before the s/// block *must* be bounded by '/'. 
The s@@@ is find.)

(A rather smug) Angus (who really is off for the w/e NOW.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: spec.diff
Type: text/x-diff
Size: 1985 bytes
Desc: not available
Url : attachments/20040507/512ecdd3/attachment-0010.bin 


More information about the Xforms mailing list