From e5e98dd219feda3432914f09f415a66d12597047 Mon Sep 17 00:00:00 2001
From: Danny Auble <da@schedmd.com>
Date: Mon, 26 Aug 2013 14:56:38 -0700
Subject: [PATCH] Add --enable-multiple-slurmd to be an option in the
 slurm.spec file.

---
 slurm.spec | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/slurm.spec b/slurm.spec
index c7acb4fe2c4..fc9631d6fa2 100644
--- a/slurm.spec
+++ b/slurm.spec
@@ -5,6 +5,7 @@
 #
 # build options      .rpmmacros options      change to default action
 # ===============    ====================    ========================
+# --enable-multiple-slurmd %_with_multiple_slurmd 1 build with the multiple slurmd option.  Typically used to simulate a larger system than one has access to.
 # --enable-salloc-background %_with_salloc_background 1 on a cray system alloc salloc to execute as a background process.
 # --prefix           %_prefix        path    install path for commands, libraries, etc.
 # --with aix         %_with_aix         1    build aix RPM
@@ -44,6 +45,7 @@
 %slurm_without_opt debug
 %slurm_without_opt sun_const
 %slurm_without_opt salloc_background
+%slurm_without_opt multiple_slurmd
 
 # These options are only here to force there to be these on the build.
 # If they are not set they will still be compiled if the packages exist.
@@ -424,6 +426,7 @@ Gives the ability for SLURM to use Berkeley Lab Checkpoint/Restart
 	%{?with_blcr}      \
 	%{?slurm_with_salloc_background:--enable-salloc-background} \
 	%{!?slurm_with_readline:--without-readline} \
+	%{?slurm_with_multiple_slurmd:--enable-multiple-slurmd} \
 	%{?with_cflags}
 
 make %{?_smp_mflags}
-- 
GitLab