From a3fb7f21f1347dde27edb1d7a86c21b577ec687d Mon Sep 17 00:00:00 2001 From: Philip Kovacs Date: May 12 2018 21:52:02 +0000 Subject: Release of 17.11.6 Added patch to avoid building contribs/cray (Yu Watanabe) Added lz4 support via new BuildRequires (Yu Watanabe) Replaced obsolete packages libibmad-devel and libibumad-devel with rdma-core-devel (Yu Watanabe) Updated package descriptions (Yu Watanabe) --- diff --git a/slurm.spec b/slurm.spec index 3641855..a505b0b 100644 --- a/slurm.spec +++ b/slurm.spec @@ -14,8 +14,8 @@ %undefine _strict_symbol_defs_build Name: slurm -Version: 17.11.5 -Release: 2%{?dist} +Version: 17.11.6 +Release: 1%{?dist} Summary: Simple Linux Utility for Resource Management License: GPLv2 and BSD URL: https://slurm.schedmd.com/ @@ -33,6 +33,7 @@ Patch0: slurm_libslurmfull_version.patch Patch10: slurm_perlapi_rpaths.patch Patch11: slurm_html_doc_path.patch Patch12: slurm_doc_fix.patch +Patch13: slurm_do_not_build_cray.patch # Fedora-related patches Patch20: slurm_pmix_soname.patch @@ -50,7 +51,6 @@ BuildRequires: perl-interpreter BuildRequires: perl-podlators BuildRequires: pkgconf BuildRequires: pkgconfig(check) -%{?systemd_requires} BuildRequires: python3 BuildRequires: systemd @@ -58,8 +58,9 @@ BuildRequires: hdf5-devel BuildRequires: pam-devel BuildRequires: pkgconfig(gtk+-2.0) BuildRequires: pkgconfig(hwloc) -BuildRequires: pkgconfig(libfreeipmi) BuildRequires: pkgconfig(libcurl) +BuildRequires: pkgconfig(libfreeipmi) +BuildRequires: pkgconfig(liblz4) BuildRequires: pkgconfig(librrd) BuildRequires: pkgconfig(libssh2) BuildRequires: pkgconfig(lua) @@ -73,13 +74,13 @@ BuildRequires: readline-devel # follow arch exclusions for these devel packages %ifnarch s390 s390x %{arm} -BuildRequires: libibmad-devel -BuildRequires: libibumad-devel +BuildRequires: rdma-core-devel BuildRequires: numactl-devel %endif Requires: munge Requires: pmix >= 2.0.0 +%{?systemd_requires} Obsoletes: %{name} <= %{obs_evr} Obsoletes: %{name}-plugins <= %{obs_evr} @@ -90,19 +91,20 @@ Obsoletes: %{name}-plugins-mysql <= %{obs_evr} %description Slurm is an open source, fault-tolerant, and highly scalable -cluster management and job scheduling system for large and -small Linux clusters. +cluster management and job scheduling system for Linux clusters. +Components include machine status, partition management, +job management, scheduling and accounting modules. # ------------- # Base Packages # ------------- %package devel -Summary: Slurm development +Summary: Development package for Slurm Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description devel -Development package for Slurm. Includes headers, libraries -and man pages for using the Slurm API. +Development package for Slurm. This package includes the header files +and libraries for the Slurm API. %package doc Summary: Slurm documentation @@ -183,13 +185,14 @@ Perl API package for Slurm. This package includes the perl API to provide a helpful interface to Slurm through Perl. %package pam_slurm -Summary: Slurm pam modules +Summary: PAM module for restricting access to compute nodes via Slurm Requires: %{name}-libs%{?_isa} = %{version}-%{release} Obsoletes: %{name}-plugins-pam_slurm <= %{obs_evr} %description pam_slurm -The pam_slurm module restricts access to compute nodes in a cluster where Slurm -is in use. Also includes the pam_slurm_adopt plugin for "adopting" connections -into slurm jobs. +This module restricts access to compute nodes in a cluster where Slurm +is in use. Access is granted to root, any user with a Slurm-launched job +currently running on the node, or any user who has allocated resources +on the node according to Slurm. %package torque Summary: Torque/PBS wrappers for transition from Torque/PBS to Slurm @@ -205,6 +208,7 @@ Torque wrapper scripts used for helping migrate from Torque/PBS to Slurm. %patch10 -p1 %patch11 -p1 %patch12 -p1 +%patch13 -p1 %patch20 -p1 %patch21 -p1 %patch22 -p1 @@ -733,8 +737,13 @@ rm -f %{buildroot}%{perl_archlib}/perllocal.pod %systemd_postun_with_restart slurmdbd.service %changelog -* Tue Mar 20 2018 Philip Kovacs - 17.11.5-2 -- Fix typo in systemd macro +* Sat May 12 2018 Philip Kovacs - 17.11.6-1 +- Release of 17.11.6 +- Added patch to avoid building contribs/cray (Yu Watanabe) +- Added lz4 support via new BuildRequires (Yu Watanabe) +- Replaced obsolete packages libibmad-devel and libibumad-devel + with rdma-core-devel (Yu Watanabe) +- Updated package descriptions (Yu Watanabe) * Fri Mar 16 2018 Philip Kovacs - 17.11.5-1 - Release of 17.11.5 diff --git a/slurm_do_not_build_cray.patch b/slurm_do_not_build_cray.patch new file mode 100644 index 0000000..a36517e --- /dev/null +++ b/slurm_do_not_build_cray.patch @@ -0,0 +1,10 @@ +diff --git a/contribs/Makefile.am b/contribs/Makefile.am +index 24ab9de7cc..087262c347 100644 +--- a/contribs/Makefile.am ++++ b/contribs/Makefile.am +@@ -1,4 +1,4 @@ +-SUBDIRS = cray lua mic openlava pam pam_slurm_adopt perlapi pmi2 seff sgather sgi sjobexit torque ++SUBDIRS = lua mic openlava pam pam_slurm_adopt perlapi pmi2 seff sgather sgi sjobexit torque + + EXTRA_DIST = \ + gcp \ diff --git a/sources b/sources index ee6dc7c..5dbcd7c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (slurm-17.11.5.tar.bz2) = cb82e192bf0ab57fbc810fc3c9b32e90d4c28926b4a959514e3df51b63556b13d01057938d73da5bc0bea157bbd7712b1aad0712a913ad912bd7e6089fc0bd21 +SHA512 (slurm-17.11.6.tar.bz2) = 0b2af23efb6d23c86f810cdeabcbe3250bac05ea0de64c418ff5da23c549ca11f4e4a4dc8495c563dbecc79cc300cbed0f62efd51b8d78966f68b4b23e76c427