From f3f3e2d918f12f4a3176fd3c724e291e972e7068 Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Thu, 8 Oct 2009 22:16:42 +0000 Subject: [PATCH] Chaos 5 patches from Mark Grondona --- slurm.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/slurm.spec b/slurm.spec index ac610e89c93..c4aeb6727bd 100644 --- a/slurm.spec +++ b/slurm.spec @@ -69,7 +69,9 @@ # Build with sgijob plugin and mysql (for slurmdbdb) on CHAOS systems %if %{?chaos}0 %slurm_with_opt mysql +%if %chaos < 5 %slurm_with_opt sgijob +%endif %else %slurm_without_opt sgijob %endif @@ -128,6 +130,8 @@ BuildRequires: mysql-devel >= 5.0.0 BuildRequires: postgresql-devel >= 8.0.0 %endif +BuildRequires: perl(ExtUtils::MakeMaker) + %description SLURM is an open source, fault-tolerant, and highly scalable cluster management and job scheduling system for Linux clusters @@ -287,7 +291,8 @@ Perl tool to print SLURM job state information. %package pam_slurm Summary: PAM module for restricting access to compute nodes via SLURM. Group: System Environment/Base -Requires: slurm slurm-devel pam-devel +Requires: slurm slurm-devel +BuildRequires: pam-devel %description pam_slurm This module restricts access to compute nodes in a cluster where the Simple Linux Utility for Resource Managment (SLURM) is in use. Access is granted -- GitLab