From 33cbf0b4cdcd160a160ac3d03bbb7818a1a52b3f Mon Sep 17 00:00:00 2001 From: Danny Auble <da@llnl.gov> Date: Fri, 6 Aug 2010 21:15:26 +0000 Subject: [PATCH] svn merge -r20917:20919 https://eris.llnl.gov/svn/slurm/branches/slurm-2.1 --- META | 36 ++++++++++++------------------------ slurm.spec | 13 +++++++------ 2 files changed, 19 insertions(+), 30 deletions(-) diff --git a/META b/META index 388c54fcc05..586444e7b90 100644 --- a/META +++ b/META @@ -1,24 +1,12 @@ -## -# $Id$ -## -# Metadata for RPM/TAR makefile targets -## -# See src/api/Makefile.am for guidance on setting API_ values -## - Meta: 1 - Name: slurm - Major: 2 - Minor: 2 - Micro: 0 - Version: 2.2.0 - Release: 0.pre9 -## -# When changing API_CURRENT update src/common/slurm_protocol_common.h -# with a new SLURM_PROTOCOL_VERSION signifing the old one and the version -# it was so the slurmdbd can continue to send the old protocol version. -# In src/common/slurm_protocol_util.c check_header_version(), and init_header() -# need to be updated also when changes are added also. -## - API_CURRENT: 22 - API_AGE: 0 - API_REVISION: 0 + Api_age: 0 + Api_current: 22 + Api_revision: 0 + Date: 2010-08-06 + Major: 2 + Meta: 1 + Micro: 0 + Minor: 2 + Name: slurm + Release: 1008061411 + Release_tags: dist + Version: 2.2.0 diff --git a/slurm.spec b/slurm.spec index ad1f66e3afd..a96cd5ae1d0 100644 --- a/slurm.spec +++ b/slurm.spec @@ -84,15 +84,15 @@ %slurm_with_opt sgijob %endif -Name: See META file -Version: See META file -Release: See META file +Name: slurm +Version: 2.2.0 +Release: 1008061411%{?dist} Summary: Simple Linux Utility for Resource Management License: GPL Group: System Environment/Base -Source: %{name}-%{version}-%{release}.tgz +Source: slurm-2.2.0-1008061411.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} URL: https://computing.llnl.gov/linux/slurm/ @@ -360,7 +360,7 @@ Gives the ability for SLURM to use Berkeley Lab Checkpoint/Restart ############################################################################# %prep -%setup -n %{name}-%{version}-%{release} +%setup -n slurm-2.2.0-1008061411 %build %configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \ @@ -767,6 +767,7 @@ if [ ! -f %{_sysconfdir}/slurmdbd.conf ]; then echo "Edit %{_sysconfdir}/slurmdbd.conf.example and copy it to slurmdbd.conf" fi +%if %{slurm_with bluegene} %post bluegene if [ -x /sbin/ldconfig ]; then /sbin/ldconfig %{_libdir}/slurm @@ -775,7 +776,7 @@ if [ ! -f %{_sysconfdir}/bluegene.conf ]; then echo "You need to build and install a bluegene.conf file" echo "Edit %{_sysconfdir}/bluegene.conf.example and copy it to bluegene.conf" fi - +%endif %preun if [ "$1" = 0 ]; then -- GitLab