Build rpm package in parallel
authorThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 29 Apr 2011 09:31:52 +0000 (11:31 +0200)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Fri, 29 Apr 2011 09:31:52 +0000 (11:31 +0200)
libpingcheck.spec

index db02d94..21a7c46 100644 (file)
@@ -28,11 +28,11 @@ export CFLAGS="$RPM_OPT_FLAGS"
 export CXXFLAGS="$RPM_OPT_FLAGS"
 cmake -DCMAKE_INSTALL_PREFIX="%{_prefix}" ../
 
-make
+make %{_smp_mflags}
 
+%check
 #make check
 
-
 %install
 rm -rf $RPM_BUILD_ROOT