On Tue, 2009-08-04 at 13:42 +0200, Mattias Ellert wrote: > > What's the correct way to do this? > > %global dconfigure %(rpm -E %%configure | sed 's!./configure!../configure!g') > %dconfigure This works, but isn't it bad style to call rpm from within a spec file..? -- Jussi Lehtola Fedora Project Contributor jussilehtola at fedoraproject.org