From 7548ab4bcf247bbc5877b349efbb1d7d5a71dd7b27ea5220bd2396ebd8de4aa7 Mon Sep 17 00:00:00 2001 From: Ruediger Oertel Date: Tue, 2 Nov 2010 10:02:35 +0000 Subject: [PATCH] Accepting request 51843 from Base:System Accepted submit request 51843 from user coolo OBS-URL: https://build.opensuse.org/request/show/51843 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssh?expand=0&rev=52 --- openssh.changes | 5 +++++ openssh.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/openssh.changes b/openssh.changes index 7f2be63..423e9ae 100644 --- a/openssh.changes +++ b/openssh.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Oct 31 12:37:02 UTC 2010 - jengelh@medozas.de + +- Use %_smp_mflags + ------------------------------------------------------------------- Thu Oct 14 16:00:19 UTC 2010 - crrodriguez@opensuse.org diff --git a/openssh.spec b/openssh.spec index a65737d..d4a7622 100644 --- a/openssh.spec +++ b/openssh.spec @@ -161,8 +161,8 @@ LDFLAGS="-pie" CFLAGS="$RPM_OPT_FLAGS $PIEFLAGS -fstack-protector" CXXFLAGS="$RP --with-xauth=%{_prefix}/bin/xauth \ --target=%{_target_cpu}-suse-linux # --with-afs=/usr \ -make %{?jobs:-j%jobs} -(cd converter; make %{?jobs:-j%jobs}) +make %{?_smp_mflags} +(cd converter; make %{?_smp_mflags}) cd contrib cd ../../x11-ssh-askpass-%{xversion} CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" @@ -172,7 +172,7 @@ CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" --libexecdir=%{prefix}/%_lib/ssh xmkmf make includes USRLIBDIR=%_prefix/%_lib -make %{?jobs:-j%jobs} USRLIBDIR=%_prefix/%_lib CCOPTIONS="$RPM_OPT_FLAGS" +make %{?_smp_mflags} USRLIBDIR=%_prefix/%_lib CCOPTIONS="$RPM_OPT_FLAGS" %install make DESTDIR=$RPM_BUILD_ROOT/ install