Skip to contentSkip to conversation

utilize all cpus when building an rpm

PATCH New Greg Edwards 1 participant 1 message Jul 29, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 utilize all cpus when building an rpm

Utilize all processors on the system when building an rpm.

# This is a BitKeeper generated diff -Nru style patch. #
# ChangeSet
# 2004/07/29 13:15:17-05:00 [email protected]
# Utilize all processors on the system when building an rpm.
#

# scripts/package/mkspec
#   2004/07/29 13:15:08-05:00 [email protected] +1 -1
#   Add %{?_smp_mflags} rpm macro to make command line to utilize the
#   number of processors on the system.
# 
diff -Nru a/scripts/package/mkspec b/scripts/package/mkspec
--- a/scripts/package/mkspec	2004-07-29 13:27:57 -05:00
+++ b/scripts/package/mkspec	2004-07-29 13:27:57 -05:00
@@ -40,7 +40,7 @@
 echo "%setup -q"
 echo ""
 echo "%build"
-echo "make clean && make"
+echo "make clean && make %{?_smp_mflags}"
 echo ""
 echo "%install"