From a93547103f40c3cdc28c3af470d435ddac2ac60f Mon Sep 17 00:00:00 2001 From: Philip Kovacs Date: Jul 02 2019 06:45:05 +0000 Subject: Do not install slurm implementation of libpmi/pmi2 libraries in favor of the faster implementation provided by pmix Remove pmi environment module formerly used to select the slurm vs pmix implementations of libpmi/pmi2 --- diff --git a/slurm.spec b/slurm.spec index a1e3861..52d6717 100644 --- a/slurm.spec +++ b/slurm.spec @@ -12,7 +12,7 @@ Name: slurm Version: 18.08.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Simple Linux Utility for Resource Management License: GPLv2 and BSD URL: https://slurm.schedmd.com/ @@ -39,7 +39,6 @@ Patch22: slurm_to_python3.patch BuildRequires: autoconf BuildRequires: automake -BuildRequires: environment(modules) BuildRequires: desktop-file-utils BuildRequires: gcc BuildRequires: perl-devel @@ -111,8 +110,6 @@ and their respective man pages. %package libs Summary: Slurm shared libraries -Provides: pmi -Requires: environment(modules) %description libs Slurm shared libraries. @@ -243,11 +240,11 @@ s|^dir_tmpfiles_d=.*|dir_tmpfiles_d="%{_tmpfilesdir}"|g;' \ extras/%{name}-setuser.in > extras/%{name}-setuser # build base packages -%make_build V=1 +%make_build # build contribs packages # INSTALLDIRS=vendor so perlapi goes to vendor_perl directory -%make_build PERL_MM_PARAMS="INSTALLDIRS=vendor" contrib V=1 +%make_build PERL_MM_PARAMS="INSTALLDIRS=vendor" contrib %check # The test binaries need LD_LIBRARY_PATH to find the compiled slurm library @@ -305,18 +302,6 @@ touch %{buildroot}%{_rundir}/%{name}/slurmctld.pid touch %{buildroot}%{_rundir}/%{name}/slurmd.pid touch %{buildroot}%{_rundir}/%{name}/slurmdbd.pid -# install pmi/slurm environment module file -install -d -m 0755 %{buildroot}%{_modulesdir}/pmi -cat >%{buildroot}%{_modulesdir}/pmi/%{name}-%{_arch} <%{buildroot}%{_libdir}/pkgconfig/%{name}.pc <%{buildroot}%{_libdir}/%{name}/lib/pkgconfig/pmi.pc <%{buildroot}%{_libdir}/%{name}/lib/pkgconfig/pmi2.pc < - 18.08.7-3 +- Do not install slurm implementation of libpmi/pmi2 libraries +- in favor of the faster implementation provided by pmix +- Remove pmi environment module formerly used to select the slurm +- vs pmix implementations of libpmi/pmi2 + * Wed Jun 19 2019 Philip Kovacs - 18.08.7-2 - Correct the configure for pmix - Correct the slurm_pmix_soname patch