parallel build uses NCPU jobs instead of NCPU+1
[ginac.git] / GiNaC.spec.in
index f3048e6c7a4f6d3321822dae9834dbe134f7bac7..4fef8ab71e9884c659e7f7d93e2f22647e73e84c 100644 (file)
@@ -62,14 +62,14 @@ if [ -x /usr/bin/getconf ] ; then
 else  
   NCPU=1
 fi
-PARL=$[ $NCPU + 1 ]
-(make -k -j $PARL; exit 0)
+(make -k -j $NCPU; exit 0)
 make
 
 %install
 rm -rf ${RPM_BUILD_ROOT}
 make DESTDIR=${RPM_BUILD_ROOT} install
 gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/ginac.info*
+rm ${RPM_BUILD_ROOT}%{_infodir}/dir
 
 %clean
 rm -rf ${RPM_BUILD_ROOT}