integ/base/openssh/centos/meta_patches/0001-Further-parallelize-openssh-build.patch
slin14 84c6cae443 de-fuzz openssh patches
When do Centos 7.5 upgraded, some patches didn't resolve and cause
the fuzzy in the line numbers of the patches. And it may cause
.orig file is created when do patch. And this .orig file will lead
to rpm packaging failure due to the unexpected and unpackaged .orig
file.

Please visit below link to get more detail info:
https://bugs.launchpad.net/starlingx/+bug/1794611

Solution:
  Safest solution is to de-fuzz our patches.

Story: 2003389
Task: 26755

Change-Id: I0a701722187a3fd34ad710c86dbcf31318fbfda5
Signed-off-by: slin14 <shuicheng.lin@intel.com>
2018-09-28 07:37:14 +08:00

35 lines
912 B
Diff

From 43675576fe1d5780e042852365981bd2b8fa9e0e Mon Sep 17 00:00:00 2001
From: Scott Little <scott.little@windriver.com>
Date: Mon, 2 Oct 2017 15:32:16 -0400
Subject: [4/6] WRS: 0001-Further-parallelize-openssh-build.patch
---
SPECS/openssh.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/SPECS/openssh.spec b/SPECS/openssh.spec
index be83a63..39bbcac 100644
--- a/SPECS/openssh.spec
+++ b/SPECS/openssh.spec
@@ -606,7 +606,7 @@ fi
perl -pi -e "s|-lcrypto|%{_libdir}/libcrypto.a|g" Makefile
%endif
-make
+make -j"%(nproc)"
# Define a variable to toggle gnome1/gtk2 building. This is necessary
# because RPM doesn't handle nested %if statements.
@@ -632,7 +632,7 @@ popd
pushd pam_ssh_agent_auth-%{pam_ssh_agent_ver}
LDFLAGS="$SAVE_LDFLAGS"
%configure --with-selinux --libexecdir=/%{_libdir}/security --with-mantype=man
-make
+make -j"%(nproc)"
popd
%endif
--
2.7.4