# HG changeset patch # User Michael Schloh von Bennewitz # Date 1346173360 -7200 # Node ID 17d7a44512995e3c0c584cbe93b9126d2da45210 # Parent 60d8c38e19009346ed09de41c3fdafc46926bd3e Instruct GNU make to compile in parallel to reduce build durations. diff -r 60d8c38e1900 -r 17d7a4451299 binutils/binutils.spec --- a/binutils/binutils.spec Tue Aug 28 19:02:35 2012 +0200 +++ b/binutils/binutils.spec Tue Aug 28 19:02:40 2012 +0200 @@ -109,7 +109,7 @@ $ARGS # build package - %{l_make} %{l_mflags} + %{l_make} %{l_mflags -O} %install # install package diff -r 60d8c38e1900 -r 17d7a4451299 bison/bison.spec --- a/bison/bison.spec Tue Aug 28 19:02:35 2012 +0200 +++ b/bison/bison.spec Tue Aug 28 19:02:40 2012 +0200 @@ -99,7 +99,7 @@ --mandir=%{l_prefix}/man \ --infodir=%{l_prefix}/info \ --disable-nls - %{l_make} -f Makefile %{l_mflags} + %{l_make} -f Makefile %{l_mflags -O} ) || exit $? %if "%{with_old}" == "yes" ( cd bison-%{V_old} @@ -111,14 +111,14 @@ --mandir=%{l_prefix}/man \ --infodir=%{l_prefix}/info \ --disable-nls - %{l_make} -f Makefile %{l_mflags} + %{l_make} -f Makefile %{l_mflags -O} ) || exit $? %endif %install %if "%{with_old}" == "yes" ( cd bison-%{V_old} - %{l_make} -f Makefile %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" + %{l_make} -f Makefile %{l_mflags} install DESTDIR="$RPM_BUILD_ROOT" mv $RPM_BUILD_ROOT%{l_prefix}/bin/bison \ $RPM_BUILD_ROOT%{l_prefix}/bin/bison-old mv $RPM_BUILD_ROOT%{l_prefix}/man/man1/bison.1 \ @@ -126,7 +126,7 @@ ) || exit $? %endif ( cd bison-%{V_new} - %{l_make} -f Makefile %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" + %{l_make} -f Makefile %{l_mflags} install DESTDIR="$RPM_BUILD_ROOT" ) || exit $? rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/locale rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir diff -r 60d8c38e1900 -r 17d7a4451299 dovecot/dovecot.spec --- a/dovecot/dovecot.spec Tue Aug 28 19:02:35 2012 +0200 +++ b/dovecot/dovecot.spec Tue Aug 28 19:02:40 2012 +0200 @@ -57,7 +57,7 @@ Patch0: dovecot.patch # build information -BuildPreReq: OpenPKG, openpkg >= 20100101, pkgconfig +BuildPreReq: OpenPKG, openpkg >= 20100101, pkgconfig, make PreReq: OpenPKG, openpkg >= 20100101, MTA, x509 BuildPreReq: libiconv, openssl, zlib, bzip2 PreReq: libiconv, openssl, zlib, bzip2 diff -r 60d8c38e1900 -r 17d7a4451299 snmp/snmp.spec --- a/snmp/snmp.spec Tue Aug 28 19:02:35 2012 +0200 +++ b/snmp/snmp.spec Tue Aug 28 19:02:40 2012 +0200 @@ -54,7 +54,7 @@ Patch2: snmp_iface.patch # build information -BuildPreReq: OpenPKG, openpkg >= 20100101, gcc +BuildPreReq: OpenPKG, openpkg >= 20100101, gcc, make PreReq: OpenPKG, openpkg >= 20100101 BuildPreReq: openssl PreReq: openssl @@ -169,8 +169,8 @@ --with-defaults # build package - %{l_make} %{l_mflags} touchit - %{l_make} %{l_mflags} + %{l_make} %{l_mflags -O} touchit + %{l_make} %{l_mflags -O} %install # install package