From 6dff443d8058d37ab9b5683bda23b94a3c03f6bf18f0a7c6d23f5bc6f615e62f Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 28 Jun 2010 21:22:14 +0000 Subject: [PATCH] Accepting request 42173 from home:jengelh:smp Copy from home:jengelh:smp/util-linux via accept of submit request 42173 revision 2. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/42173 OBS-URL: https://build.opensuse.org/package/show/Base:System/util-linux?expand=0&rev=46 --- util-linux.changes | 5 +++++ util-linux.spec | 12 ++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/util-linux.changes b/util-linux.changes index d84ec7b..24f134a 100644 --- a/util-linux.changes +++ b/util-linux.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 28 06:38:35 UTC 2010 - jengelh@medozas.de + +- use %_smp_mflags + ------------------------------------------------------------------- Thu Jun 24 23:24:41 CEST 2010 - jeffm@suse.de diff --git a/util-linux.spec b/util-linux.spec index a18e67c..6678082 100644 --- a/util-linux.spec +++ b/util-linux.spec @@ -187,7 +187,7 @@ cd ../which-* # adjtimex build cd adjtimex-%{adjtimex_ver} CFLAGS="$RPM_OPT_FLAGS" ./configure -make %{?jobs:-j%jobs} +make %{?_smp_mflags} cd .. pushd ../ # which build @@ -201,7 +201,7 @@ CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ %{_target_cpu}-suse-linux -make %{?jobs:-j%jobs} +make %{?_smp_mflags} cd .. # time build cd time-%{time_ver} @@ -211,16 +211,16 @@ CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE " INSTALL_PROGRAM='$(INSTALL)' \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ %{_target_cpu}-suse-linux -make %{?jobs:-j%jobs} +make %{?_smp_mflags} cd .. # klogconsole build cd klogconsole -make %{?jobs:-j%jobs} CFLAGS="$RPM_OPT_FLAGS" +make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" cd .. popd # setctsid build rm -f setctsid -make %{?jobs:-j%jobs} setctsid CFLAGS="$RPM_OPT_FLAGS" +make %{?_smp_mflags} setctsid CFLAGS="$RPM_OPT_FLAGS" # # util-linux itself # @@ -247,7 +247,7 @@ CFLAGS="$RPM_OPT_FLAGS" \ --enable-rdev \ %endif # -make %{?jobs:-j%jobs} +make %{?_smp_mflags} # gcc $RPM_OPT_FLAGS -o nologin nologin.c gcc $RPM_OPT_FLAGS -o mkzimage_cmdline %{S:29}