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

1 messages from 2005-12-09 to 2005-12-09. Participants: H. Peter Anvin.
Thread: https://gitlist.dev/t/2788

## H. Peter Anvin, 2005-12-09 03:37

Subject: [PATCH] [COGITO] RPM: build in parallel on SMP systems
Message-ID: <4398FBEC.6040800@zytor.com>
URL: https://gitlist.dev/e/4398FBEC.6040800%40zytor.com

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

Signed-off-by: H. Peter Anvin <hpa@zytor.com>


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 <hpa@zytor.com>
+- add %{_smp_mflags}
+
 * Tue Nov 1 2005 Pavel Roskin <proski@gnu.org> 0.15.1-1
 - generate and include manuals
 

```
