On Fri, 30 Mar 2001, Bob Tanner wrote:
> I have looked, but cannot find a way to pass options to make when using rpm to
> build a package.
>
> I want to pass make a "-j 2" so I can take advantage of my dual CPUs.
>
> Passing things to gcc is not a problem, CFLAGS, LDFLAGS, etc.. Is there an
> equivalent for make?

you can just execute the 'make' command under the rpm..

for example (From courier-imap.spec):

%prep
%setup -q
%configure --localstatedir=%{_localstatedir} \
        --with-authdaemonvar=%{authdaemondir}

%build
(cd tcpd; touch INSTALL NEWS README COPYING AUTHORS ChangeLog)
make
make check
%install

you could easily pass the params you want after the 'make' there.

-- 
Nate Carlson <natecars at real-time.com>   | Phone : (952)943-8700
http://www.real-time.com                | Fax   : (952)943-8500