Subject: [PATCH] [COGITO] RPM: build in parallel on SMP systems

From: "H. Peter Anvin" <[email-masked]>
Date: Thu, 08 Dec 2005 19:37:16 -0800

asciidoc is hideously slow, so it's worth it to build in parallel on SMP 
hosts.

Signed-off-by: H. Peter Anvin <[email-masked]>
diff --git a/cogito.spec.in b/cogito.spec.in
index 501c52e..7c3c91d 100644
--- a/cogito.spec.in
+++ b/cogito.spec.in
@@ -22,7 +22,7 @@ many other version control systems.
 
 %build
 
-make all doc
+make %{_smp_mflags} all doc
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -42,6 +42,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc README COPYING Documentation/tutorial-script
 
 %changelog
+* Thu Dec 8 2005 H. Peter Anvin <[email-masked]>
+- add %{_smp_mflags}
+
 * Tue Nov 1 2005 Pavel Roskin <[email-masked]> 0.15.1-1
 - generate and include manuals