An easy way to redefine configure?

Jussi Lehtola jussilehtola at fedoraproject.org
Tue Aug 4 12:01:36 UTC 2009


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




More information about the fedora-devel-list mailing list