Author: glen Date: Tue Dec 7 13:08:03 2010 GMT Module: packages Tag: HEAD ---- Log message: - add -jN support
---- Files affected: packages: builder (1.638 -> 1.639) ---- Diffs: ================================================================ Index: packages/builder diff -u packages/builder:1.638 packages/builder:1.639 --- packages/builder:1.638 Sat Dec 4 20:22:34 2010 +++ packages/builder Tue Dec 7 14:07:57 2010 @@ -300,6 +300,7 @@ -g, --get - get <package>.spec and all related files from CVS repo or HTTP/FTP, -h, --help - this message, +-jN, -j N - set %_smp_mflags to propagate concurrent jobs --http - use http instead of ftp, -l <logfile>, --logtofile <logfile> - log all to file, @@ -2176,6 +2177,14 @@ COMMAND="usage"; shift ;; --http ) PROTOCOL="http"; shift ;; + -j) + RPMOPTS="${RPMOPTS} --define \"_smp_mflags -j$2\"" + shift 2 + ;; + -j[0-9]*) + RPMOPTS="${RPMOPTS} --define \"_smp_mflags $1\"" + shift + ;; -l | --logtofile ) shift; LOGFILE="${1}"; shift ;; -ni| --nice ) ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/builder?r1=1.638&r2=1.639&f=u _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit