From 0ff89d1eafaa86f075f3979ada152f43216c75c7 Mon Sep 17 00:00:00 2001 From: Philip Kovacs Date: Jul 21 2019 07:30:21 +0000 Subject: minor spec edit Signed-off-by: Philip Kovacs --- diff --git a/slurm.spec b/slurm.spec index c1b8af3..f40fa80 100644 --- a/slurm.spec +++ b/slurm.spec @@ -198,14 +198,6 @@ Requires: %{name}-perlapi%{?_isa} = %{version}-%{release} %description openlava OpenLava wrapper scripts used for helping migrate from OpenLava/LSF to Slurm. -%package perlapi -Summary: Perl API to Slurm -Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) -Requires: %{name}-libs%{?_isa} = %{version}-%{release} -%description perlapi -Perl API package for Slurm. This package includes the perl API to provide a -helpful interface to Slurm through Perl. - %package pam_slurm Summary: PAM module for restricting access to compute nodes via Slurm Requires: %{name}-libs%{?_isa} = %{version}-%{release} @@ -215,6 +207,14 @@ 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 perlapi +Summary: Perl API to Slurm +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: %{name}-libs%{?_isa} = %{version}-%{release} +%description perlapi +Perl API package for Slurm. This package includes the perl API to provide a +helpful interface to Slurm through Perl. + %package torque Summary: Torque/PBS wrappers for transition from Torque/PBS to Slurm Requires: %{name}%{?_isa} = %{version}-%{release} @@ -523,6 +523,23 @@ rm -f %{buildroot}%{perl_archlib}/perllocal.pod %{_libdir}/libslurm.so.* %{_libdir}/libslurmfull-*.so +# --------- +# Slurm-pmi +# --------- + +%files pmi +%{_libdir}/libpmi.so.0* +%{_libdir}/libpmi2.so.0* + +# --------------- +# Slurm-pmi-devel +# --------------- + +%files pmi-devel +%{_includedir}/%{name}/pmi*.h +%{_libdir}/libpmi.so +%{_libdir}/libpmi2.so + # ------------- # Slurm-rrdtool # ------------- @@ -606,6 +623,14 @@ rm -f %{buildroot}%{perl_archlib}/perllocal.pod %{_mandir}/man1/bsub.1* %{_mandir}/man1/lsid.1* +# --------------- +# Slurm-pam_slurm +# --------------- + +%files pam_slurm +%{_libdir}/security/pam_slurm.so +%{_libdir}/security/pam_slurm_adopt.so + # ------------- # Slurm-perlapi # ------------- @@ -622,31 +647,6 @@ rm -f %{buildroot}%{perl_archlib}/perllocal.pod %{perl_vendorarch}/auto/Slurmdb/Slurmdb.so %{perl_vendorarch}/auto/Slurmdb/autosplit.ix -# --------- -# Slurm-pmi -# --------- - -%files pmi -%{_libdir}/libpmi.so.0* -%{_libdir}/libpmi2.so.0* - -# --------------- -# Slurm-pmi-devel -# --------------- - -%files pmi-devel -%{_includedir}/%{name}/pmi*.h -%{_libdir}/libpmi.so -%{_libdir}/libpmi2.so - -# --------------- -# Slurm-pam_slurm -# --------------- - -%files pam_slurm -%{_libdir}/security/pam_slurm.so -%{_libdir}/security/pam_slurm_adopt.so - # ------------ # Slurm-torque # ------------