From 51a8829668573f0a7220cbe60be0606b585ea13e Mon Sep 17 00:00:00 2001
From: Danny Auble <da@llnl.gov>
Date: Tue, 14 Jun 2011 12:48:03 -0700
Subject: [PATCH] Fix to make it so if building rpms with blrc the srun_cr gets
 added to the slurm rpm

---
 slurm.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slurm.spec b/slurm.spec
index c84e7f7b8c9..eb04a33cfa1 100644
--- a/slurm.spec
+++ b/slurm.spec
@@ -608,7 +608,7 @@ rm -rf $RPM_BUILD_ROOT
 %config (noreplace) %{_sysconfdir}/cgroup/release_memory
 %config %{_sysconfdir}/slurm.epilog.clean
 %exclude %{_mandir}/man1/sjobexit*
-%if %{slurm_with blcr}
+%if !%{slurm_with blcr}
 %exclude %{_mandir}/man1/srun_cr*
 %exclude %{_bindir}/srun_cr
 %endif
-- 
GitLab