On Sun, 22 Jun 2008 13:13:06 -0400, Michel Salim wrote: > Hi all, > > Some upstream developers recommend that their software (thinking of LLVM > and PLT Scheme, but there must be others) *not* be configured and built > at the top-level source directory (typically recommending using build/, > object/ or some such). > > When this is needed, currently the Fedora packager has to revert to > calling the configure script directly, foregoing the %configure macro, > and copying as much of the configure settings by hand. Would it be a > desirable feature to, say, be able to declare > > %define configure_relative_path .. > > and then have %configure use the value of that instead of './' when > calling the actual configure script? Try this in your spec (substitute SOMEPATH appropriately): %global configure %(rpm --eval %%configure|sed -e 's!./configure!SOMEPATH/configure!') -- Fedora release 8 (Werewolf) - Linux 2.6.23.15-137.fc8 loadavg: 1.22 1.27 1.17 -- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list