From 73192e1e702b3e1cf00c599babd9993259507d1c Mon Sep 17 00:00:00 2001
From: David Gloe <dgloe@cray.com>
Date: Wed, 7 May 2014 14:58:00 -0700
Subject: [PATCH] Fix slurm.spec for SLES11 SP3

it turns out SLES 11 SP3 (at least) defines it with a newline, so
this will be a problem for anyone building RPMs on that OS.
---
 slurm.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/slurm.spec b/slurm.spec
index 7b78438148b..e5342d00105 100644
--- a/slurm.spec
+++ b/slurm.spec
@@ -1049,7 +1049,7 @@ if [ "$1" = 0 ]; then
 	/sbin/ldconfig %{_libdir}
     fi
 fi
-%if %{?insserv_cleanup}0
+%if %{?insserv_cleanup:1}0
 %insserv_cleanup
 %endif
 
-- 
GitLab