]> git.pld-linux.org Git - packages/rpm-pld-macros.git/commitdiff
- 1.640 auto/th/rpm-build-macros-1_640-1
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 3 Feb 2012 13:19:02 +0000 (13:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- don't hog twice the cpus for make jobs, it's overkill esp. for c++ jobs,
  instaead use half of cpus by default

Changed files:
    rpm-build-macros.spec -> 1.320
    rpm.macros -> 1.640

rpm-build-macros.spec
rpm.macros

index 384c5e664f2b58d8186d1344423b9738dc8f4549..65cfba4b96ecd8aebd400583ee0d8a3f42850bf4 100644 (file)
@@ -1,10 +1,10 @@
-%define                rpm_macros_rev  1.639
+%define                rpm_macros_rev  1.640
 %define                find_lang_rev   1.35
 Summary:       PLD Linux RPM build macros
 Summary(pl.UTF-8):     Makra do budowania pakietów RPM dla Linuksa PLD
 Name:          rpm-build-macros
 Version:       %{rpm_macros_rev}
-Release:       2
+Release:       1
 License:       GPL
 Group:         Development/Building
 Source0:       rpm.macros
index 4fc0798e1b0939eb3be6142a609906b5bd7b81e6..08bcc8f8c14ef4d3d735a45609a2f4e78f70a6bf 100644 (file)
@@ -37,7 +37,7 @@
 %__cmake       /usr/bin/cmake
 
 %_smp_mflags %(_NCPUS=$(/usr/bin/getconf _NPROCESSORS_ONLN); \\\
-                               [ "$_NCPUS" -gt 1 ] && echo "-j$(($_NCPUS * 2))")
+                               [ "$_NCPUS" -gt 2 ] && echo "-j$(($_NCPUS / 2))")
 
 %__gettextize { \
        if grep -qs 'AM_GNU_GETTEXT.*external' configure.{ac,in} ; then \
This page took 0.076261 seconds and 4 git commands to generate.