diff --git a/fetchmail/fetchmail.spec b/fetchmail/fetchmail.spec index f588f840e6..470b58f6dd 100644 --- a/fetchmail/fetchmail.spec +++ b/fetchmail/fetchmail.spec @@ -40,7 +40,7 @@ Source0: http://www.tuxedo.org/~esr/fetchmail/fetchmail-%{version}.tar.gz # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 0.9-33, openssl, make +BuildPreReq: OpenPKG, openpkg >= 0.9-33, openssl, make, flex PreReq: OpenPKG, openpkg >= 0.9-33 AutoReq: no AutoReqProv: no @@ -57,6 +57,7 @@ AutoReqProv: no %setup -q %build + PATH="%{l_prefix}/bin:$PATH"; export PATH CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ ./configure \