diff --git a/slurm.spec b/slurm.spec
index b60a7a3267dc89c0c37e72251125efafe030ae45..7a825aebbc4819cc9854ce96a5b4e30df0d914e8 100644
--- a/slurm.spec
+++ b/slurm.spec
@@ -589,7 +589,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