I could be wrong, but I believe you can put that option in your /etc/rpmrc
file to make it apply to ALL builds.

Tom Veldhouse
veldy at veldy.net

----- Original Message -----
From: "Mike Hicks" <hick0088 at tc.umn.edu>
To: <tclug-list at mn-linux.org>
Sent: Thursday, April 05, 2001 11:21 AM
Subject: Re: [TCLUG] Building RPMs passing things to make?


> Bob Tanner <tanner at real-time.com> wrote:
> >
> > That will work if you want to unpack the SRPMS, but I'd like to be able
> > to rpm --rebuild blah.src.rpm and somehow pass it the "-j 2".
>
> Did you try setting MAKEFLAGS?
>
> MAKEFLAGS='-j 2' rpm --rebuild blah.src.rpm
>
> --
>  _  _  _  _ _  ___    _ _  _  ___ _ _  __   1200 bps used to seem so
> / \/ \(_)| ' // ._\  / - \(_)/ ./| ' /(__   fast
> \_||_/|_||_|_\\___/  \_-_/|_|\__\|_|_\ __)
> [ Mike Hicks | http://umn.edu/~hick0088/ | mailto:hick0088 at tc.umn.edu ]
> _______________________________________________
> tclug-list mailing list
> tclug-list at mn-linux.org
> https://mailman.mn-linux.org/mailman/listinfo/tclug-list
>