Blame slurm.spec

Philip Kovacs bff578
# Upstream tarballs use an additional release number
Philip Kovacs 1ffcf5
%global ups_rel 1
Philip Kovacs bff578
Philip Kovacs bff578
%if "%{ups_rel}" == "1"
Philip Kovacs bff578
%global name_version %{name}-%{version}
Philip Kovacs bff578
%else
Philip Kovacs bff578
%global name_version %{name}-%{version}-%{ups_rel}
Philip Kovacs bff578
%endif
Philip Kovacs bff578
Philip Kovacs 7629b5
# follow arch-inclusions for ucx
Philip Kovacs 7629b5
%ifarch aarch64 ppc64le x86_64
Philip Kovacs 7629b5
%bcond_without ucx
Philip Kovacs 7629b5
%else
Philip Kovacs 7629b5
%bcond_with ucx
Philip Kovacs 7629b5
%endif
Philip Kovacs 7629b5
Philip Kovacs 9be8f2
Name:           slurm
Philip Kovacs 44b9f7
Version:        20.11.3
Fedora Release Engineering 1661d4
Release:        2%{?dist}
Philip Kovacs 9be8f2
Summary:        Simple Linux Utility for Resource Management
Philip Kovacs 9be8f2
License:        GPLv2 and BSD
Philip Kovacs 9be8f2
URL:            https://slurm.schedmd.com/
Philip Kovacs bff578
Source0:        http://www.schedmd.com/download/latest/%{name_version}.tar.bz2
Philip Kovacs 9be8f2
Source1:        slurm.conf
Philip Kovacs 9be8f2
Source2:        slurmdbd.conf
Philip Kovacs 9be8f2
Source3:        slurm-sview.desktop
Philip Kovacs 9be8f2
Source4:        slurm-128x128.png
Philip Kovacs 175622
Source5:        slurm-setuser.in
Philip Kovacs 175622
Philip Kovacs b42ab1
# Release-style versioning of libslurmfull/libslurm_pmi
Philip Kovacs b42ab1
Patch0:         slurm_release_version.patch
Philip Kovacs 175622
Philip Kovacs bff578
# Build-related patches
Philip Kovacs 175622
Patch10:        slurm_perlapi_rpaths.patch
Philip Kovacs 175622
Patch11:        slurm_html_doc_path.patch
Philip Kovacs 7629b5
Patch12:        slurm_without_cray.patch
Philip Kovacs b42ab1
Patch13:        slurm_check_version.patch
Philip Kovacs 9be8f2
Philip Kovacs b42ab1
# Other patches
Philip Kovacs bff578
Patch20:        slurm_pmix_soname.patch
Philip Kovacs 188ee2
Patch21:        slurm_to_python3.patch
Philip Kovacs bff578
Philip Kovacs bff578
BuildRequires:  autoconf
Philip Kovacs bff578
BuildRequires:  automake
Philip Kovacs bff578
BuildRequires:  desktop-file-utils
Philip Kovacs bff578
BuildRequires:  gcc
Philip Kovacs 44b9f7
BuildRequires:  make
Philip Kovacs 0015ad
BuildRequires:  perl-devel
Philip Kovacs bff578
BuildRequires:  perl-ExtUtils-MakeMaker
Philip Kovacs cb4fce
BuildRequires:  perl-interpreter
f36519
BuildRequires:  perl-macros
Philip Kovacs bff578
BuildRequires:  perl-podlators
Philip Kovacs bff578
BuildRequires:  pkgconf
Philip Kovacs bff578
BuildRequires:  pkgconfig(check)
Philip Kovacs 7629b5
BuildRequires:  pkgconfig(lua)
Philip Kovacs 0015ad
BuildRequires:  python3
Philip Kovacs bff578
BuildRequires:  systemd
Philip Kovacs 9be8f2
Philip Kovacs 7629b5
BuildRequires:  freeipmi-devel
Philip Kovacs 7629b5
BuildRequires:  gtk2-devel
Philip Kovacs 9be8f2
BuildRequires:  hdf5-devel
Philip Kovacs 7629b5
BuildRequires:  hwloc-devel
Philip Kovacs 7629b5
BuildRequires:  libcurl-devel
Philip Kovacs 7629b5
BuildRequires:  libssh2-devel
Philip Kovacs 7629b5
BuildRequires:  lz4-devel
Philip Kovacs 7629b5
BuildRequires:  mariadb-devel
Philip Kovacs 7629b5
BuildRequires:  munge-devel
Philip Kovacs 8a8ef7
BuildRequires:  numactl-devel
Philip Kovacs bff578
BuildRequires:  pam-devel
Philip Kovacs 7629b5
BuildRequires:  pmix-devel
Philip Kovacs 8a8ef7
BuildRequires:  rdma-core-devel
Philip Kovacs 7629b5
BuildRequires:  readline-devel
Philip Kovacs 7629b5
BuildRequires:  rrdtool-devel
Philip Kovacs 7629b5
BuildRequires:  zlib-devel
Philip Kovacs 9be8f2
Philip Kovacs 7629b5
%if %{with ucx}
Philip Kovacs 7629b5
BuildRequires:  ucx-devel
Philip Kovacs 9be8f2
%endif
Philip Kovacs 9be8f2
Philip Kovacs 8cb979
# exclude upstream-deprecated 32-bit architectures
Philip Kovacs 8cb979
ExcludeArch:    armv7hl
Philip Kovacs 8cb979
ExcludeArch:    i686
Philip Kovacs 8cb979
Philip Kovacs 9be8f2
Requires:       munge
Philip Kovacs 7629b5
Requires:       pmix
Philip Kovacs 7629b5
%if %{with ucx}
Philip Kovacs 8a8ef7
Requires:       ucx
Philip Kovacs 8a8ef7
%endif
Philip Kovacs a3fb7f
%{?systemd_requires}
Philip Kovacs bff578
Philip Kovacs 9be8f2
%description
Philip Kovacs 9be8f2
Slurm is an open source, fault-tolerant, and highly scalable
Philip Kovacs a3fb7f
cluster management and job scheduling system for Linux clusters.
Philip Kovacs a3fb7f
Components include machine status, partition management,
Philip Kovacs a3fb7f
job management, scheduling and accounting modules.
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# -------------
Philip Kovacs 9be8f2
# Base Packages
Philip Kovacs 9be8f2
# -------------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%package devel
Philip Kovacs a3fb7f
Summary: Development package for Slurm
Philip Kovacs 9be8f2
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Philip Kovacs 9be8f2
%description devel
Philip Kovacs a3fb7f
Development package for Slurm.  This package includes the header files
Philip Kovacs a3fb7f
and libraries for the Slurm API.
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%package doc
Philip Kovacs 9be8f2
Summary: Slurm documentation
Philip Kovacs 9be8f2
%description doc
Philip Kovacs 9be8f2
Documentation package for Slurm.  Includes documentation and
Philip Kovacs 9be8f2
html-based configuration tools for Slurm.
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%package gui
Philip Kovacs 9be8f2
Summary: Slurm gui and visual tools
Philip Kovacs 9be8f2
Requires: %{name}%{?_isa} = %{version}-%{release}
Philip Kovacs 9be8f2
%description gui
Philip Kovacs d315fd
This package contains the Slurm visual tool sview and
Philip Kovacs d315fd
its respective man pages.
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%package libs
Philip Kovacs 9be8f2
Summary: Slurm shared libraries
Philip Kovacs 9be8f2
%description libs
Philip Kovacs 9be8f2
Slurm shared libraries.
Philip Kovacs 9be8f2
Philip Kovacs 7629b5
%package pmi
Philip Kovacs 7629b5
Summary: The %{name} implementation of libpmi and libpmi2
Philip Kovacs 7629b5
Requires: %{name}%{?_isa} = %{version}-%{release}
Philip Kovacs 7629b5
Conflicts: pmix-pmi
Philip Kovacs 7629b5
%description pmi
Philip Kovacs 7629b5
The %{name}-pmi package contains the %{name} implementation of
Philip Kovacs 7629b5
the libpmi and libpmi2 libraries.
Philip Kovacs 7629b5
Philip Kovacs 7629b5
%package pmi-devel
Philip Kovacs 7629b5
Summary: Development files for %{name}-pmi
Philip Kovacs 7629b5
Requires: %{name}-pmi%{?_isa} = %{version}-%{release}
Philip Kovacs 7629b5
Conflicts: pmix-pmi-devel
Philip Kovacs 7629b5
%description pmi-devel
Philip Kovacs 7629b5
The %{name}-pmi-devel package contains the development files for
Philip Kovacs 7629b5
the libpmi and libpmi2 libraries.
Philip Kovacs 7629b5
Philip Kovacs bff578
%package rrdtool
Philip Kovacs 9be8f2
Summary: Slurm rrdtool external sensor plugin
Philip Kovacs bff578
Requires: %{name}%{?_isa} = %{version}-%{release}
Philip Kovacs bff578
%description rrdtool
Philip Kovacs 9be8f2
Slurm external sensor plugin for rrdtool. This package is separated from
Philip Kovacs 9be8f2
the base plugins package due to gui dependencies which are unneeded if not
Philip Kovacs 9be8f2
using this plugin.
Philip Kovacs 9be8f2
Philip Kovacs bff578
%package slurmctld
Philip Kovacs bff578
Summary: Slurm controller daemon
Philip Kovacs bff578
Requires: %{name}%{?_isa} = %{version}-%{release}
Philip Kovacs bff578
%description slurmctld
Philip Kovacs bff578
Slurm controller daemon. Used to manage the job queue, schedule jobs,
Philip Kovacs bff578
and dispatch RPC messages to the slurmd processon the compute nodes
Philip Kovacs bff578
to launch jobs.
Philip Kovacs bff578
Philip Kovacs bff578
%package slurmd
Philip Kovacs bff578
Summary: Slurm compute node daemon
Philip Kovacs bff578
Requires: %{name}%{?_isa} = %{version}-%{release}
Philip Kovacs bff578
%description slurmd
Philip Kovacs bff578
Slurm compute node daemon. Used to launch jobs on compute nodes
Philip Kovacs bff578
Philip Kovacs 9be8f2
%package slurmdbd
Philip Kovacs 9be8f2
Summary: Slurm database daemon
Philip Kovacs bff578
Requires: %{name}%{?_isa} = %{version}-%{release}
Philip Kovacs 9be8f2
%description slurmdbd
Philip Kovacs 9be8f2
Slurm database daemon. Used to accept and process database RPCs and upload
Philip Kovacs 9be8f2
database changes to slurmctld daemons on each cluster.
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# -----------------
Philip Kovacs 9be8f2
# Contribs Packages
Philip Kovacs 9be8f2
# -----------------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%package contribs
Philip Kovacs 9be8f2
Summary: Perl tools to print Slurm job state information
Philip Kovacs 9be8f2
Requires: %{name}-perlapi%{?_isa} = %{version}-%{release}
Philip Kovacs 9be8f2
%description contribs
Philip Kovacs 9be8f2
Slurm contribution package which includes the programs seff,
Philip Kovacs 9be8f2
sjobexitmod, sjstat and smail.  See their respective man pages
Philip Kovacs 9be8f2
for more information.
Philip Kovacs 9be8f2
Philip Kovacs b8cc3a
%package nss_slurm
Philip Kovacs b8cc3a
Summary: NSS plugin for slurm
Philip Kovacs b8cc3a
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Philip Kovacs b8cc3a
%description nss_slurm
Philip Kovacs b8cc3a
nss_slurm is an optional NSS plugin that can permit passwd and group resolution
Philip Kovacs b8cc3a
for a job on the compute node to be serviced through the local slurmstepd
Philip Kovacs b8cc3a
process, rather than through some alternate network-based service such as LDAP,
Philip Kovacs b8cc3a
SSSD, or NSLCD.
Philip Kovacs b8cc3a
Philip Kovacs 9be8f2
%package openlava
Philip Kovacs 9be8f2
Summary: Openlava/LSF wrappers for transition from OpenLava/LSF to Slurm
Philip Kovacs 9be8f2
Requires: %{name}-perlapi%{?_isa} = %{version}-%{release}
Philip Kovacs 9be8f2
%description openlava
Philip Kovacs 9be8f2
OpenLava wrapper scripts used for helping migrate from OpenLava/LSF to Slurm.
Philip Kovacs 9be8f2
Philip Kovacs bff578
%package pam_slurm
Philip Kovacs a3fb7f
Summary: PAM module for restricting access to compute nodes via Slurm
Philip Kovacs 9be8f2
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Philip Kovacs bff578
%description pam_slurm
Philip Kovacs a3fb7f
This module restricts access to compute nodes in a cluster where Slurm
Philip Kovacs a3fb7f
is in use.  Access is granted to root, any user with a Slurm-launched job
Philip Kovacs a3fb7f
currently running on the node, or any user who has allocated resources
Philip Kovacs a3fb7f
on the node according to Slurm.
Philip Kovacs 9be8f2
Philip Kovacs 0ff89d
%package perlapi
Philip Kovacs 0ff89d
Summary: Perl API to Slurm
Philip Kovacs 0ff89d
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Philip Kovacs 0ff89d
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Philip Kovacs 0ff89d
%description perlapi
Philip Kovacs 0ff89d
Perl API package for Slurm.  This package includes the perl API to provide a
Philip Kovacs 0ff89d
helpful interface to Slurm through Perl.
Philip Kovacs 0ff89d
Philip Kovacs 9be8f2
%package torque
Philip Kovacs 9be8f2
Summary: Torque/PBS wrappers for transition from Torque/PBS to Slurm
Philip Kovacs bff578
Requires: %{name}%{?_isa} = %{version}-%{release}
Philip Kovacs 9be8f2
Requires: %{name}-perlapi%{?_isa} = %{version}-%{release}
Philip Kovacs 9be8f2
%description torque
Philip Kovacs 9be8f2
Torque wrapper scripts used for helping migrate from Torque/PBS to Slurm.
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%prep
Philip Kovacs 9262a5
%autosetup -p1 -n %{name_version}
Philip Kovacs 9be8f2
cp %SOURCE1 etc/slurm.conf
Philip Kovacs 9be8f2
cp %SOURCE1 etc/slurm.conf.example
Philip Kovacs 9be8f2
cp %SOURCE2 etc/slurmdbd.conf
Philip Kovacs 9be8f2
cp %SOURCE2 etc/slurmdbd.conf.example
Philip Kovacs 9be8f2
mkdir -p share/applications
Philip Kovacs 9be8f2
mkdir -p share/icons/hicolor/128x128/apps
Philip Kovacs 9be8f2
cp %SOURCE3 share/applications/%{name}-sview.desktop
Philip Kovacs 9be8f2
cp %SOURCE4 share/icons/hicolor/128x128/apps/%{name}.png
Philip Kovacs 9be8f2
mkdir -p extras
Philip Kovacs bff578
cp %SOURCE5 extras/%{name}-setuser.in
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%build
Philip Kovacs a4e1fa
aclocal -I auxdir
Philip Kovacs a4e1fa
autoconf
Philip Kovacs a4e1fa
automake --no-force
Philip Kovacs 4bfe5d
# use -fcommon for gcc 10 to avoid multiple definition errors
Philip Kovacs 4bfe5d
export CFLAGS="%{build_cflags} -fcommon"
Philip Kovacs 0015ad
# use -z lazy to allow dlopen with unresolved symbols
Philip Kovacs 1ffcf5
export LDFLAGS="%{build_ldflags} -Wl,-z,lazy"
Philip Kovacs 9be8f2
%configure \
Philip Kovacs 9be8f2
  --prefix=%{_prefix} \
Philip Kovacs 9be8f2
  --sysconfdir=%{_sysconfdir}/%{name} \
Philip Kovacs 9be8f2
  --with-pam_dir=%{_libdir}/security \
Philip Kovacs 7629b5
%if %{with ucx}
Philip Kovacs 8a8ef7
  --with-ucx=%{_prefix} \
Philip Kovacs 8a8ef7
%endif
Philip Kovacs 9be8f2
  --enable-shared \
Philip Kovacs bff578
  --enable-x11 \
Philip Kovacs 9be8f2
  --disable-static \
Philip Kovacs 9be8f2
  --disable-debug \
Philip Kovacs 9be8f2
  --disable-developer \
Philip Kovacs 9be8f2
  --disable-salloc-background \
Philip Kovacs 9be8f2
  --disable-multiple-slurmd \
Philip Kovacs 9be8f2
  --disable-partial_attach \
Philip Kovacs bff578
  --with-shared-libslurm \
Philip Kovacs bff578
  --without-rpath
Philip Kovacs 9be8f2
# patch libtool to remove rpaths
Philip Kovacs 9be8f2
sed -i 's|^hardcode_into_libs=.*|hardcode_into_libs=no|g' libtool
Philip Kovacs bff578
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
Philip Kovacs bff578
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
Philip Kovacs 9be8f2
Philip Kovacs bff578
# configure extras/slurm-setuser script
Philip Kovacs 9be8f2
sed -r '
Philip Kovacs 9be8f2
s|^dir_conf=.*|dir_conf="%{_sysconfdir}/%{name}"|g;
Philip Kovacs 9be8f2
s|^dir_log=.*|dir_log="%{_var}/log/%{name}"|g;
Philip Kovacs 9be8f2
s|^dir_run=.*|dir_run="%{_rundir}/%{name}"|g;
Philip Kovacs 9be8f2
s|^dir_spool=.*|dir_spool="%{_var}/spool/%{name}"|g;
Philip Kovacs 9be8f2
s|^dir_tmpfiles_d=.*|dir_tmpfiles_d="%{_tmpfilesdir}"|g;' \
Philip Kovacs bff578
    extras/%{name}-setuser.in > extras/%{name}-setuser
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# build base packages
Philip Kovacs 1173b3
%make_build
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# build contribs packages
Philip Kovacs 9be8f2
# INSTALLDIRS=vendor so perlapi goes to vendor_perl directory
Philip Kovacs 1173b3
%make_build PERL_MM_PARAMS="INSTALLDIRS=vendor" contrib
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%check
Philip Kovacs bff578
# The test binaries need LD_LIBRARY_PATH to find the compiled slurm library
Philip Kovacs bff578
# in the build tree.
Philip Kovacs d2a919
%make_build LD_LIBRARY_PATH="%{buildroot}%{_libdir};%{_libdir}" check
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%install
Philip Kovacs 9be8f2
%make_install
Philip Kovacs d2a919
%make_build DESTDIR=%{buildroot} install-contrib
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_sysconfdir}/%{name}
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_unitdir}
Philip Kovacs 9be8f2
install -m 0644 -p etc/cgroup.conf.example \
Philip Kovacs 9be8f2
    %{buildroot}%{_sysconfdir}/%{name}
Philip Kovacs 9be8f2
install -m 0644 -p etc/cgroup.conf.example \
Philip Kovacs 9be8f2
    %{buildroot}%{_sysconfdir}/%{name}/cgroup.conf
Philip Kovacs 9be8f2
install -m 0644 -p etc/slurm.conf %{buildroot}%{_sysconfdir}/%{name}
Philip Kovacs 9be8f2
install -m 0644 -p etc/slurm.conf.example %{buildroot}%{_sysconfdir}/%{name}
Philip Kovacs 56a8b8
install -m 0600 -p etc/slurmdbd.conf %{buildroot}%{_sysconfdir}/%{name}
Philip Kovacs 56a8b8
install -m 0600 -p etc/slurmdbd.conf.example %{buildroot}%{_sysconfdir}/%{name}
Philip Kovacs 9be8f2
install -m 0644 -p etc/slurmctld.service %{buildroot}%{_unitdir}
Philip Kovacs 9be8f2
install -m 0644 -p etc/slurmd.service %{buildroot}%{_unitdir}
Philip Kovacs 9be8f2
install -m 0644 -p etc/slurmdbd.service %{buildroot}%{_unitdir}
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# tmpfiles.d file for creating /run/slurm dir after reboot
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_tmpfilesdir}
Philip Kovacs bff578
cat  >%{buildroot}%{_tmpfilesdir}/%{name}.conf <
Philip Kovacs 9be8f2
D %{_rundir}/%{name} 0755 root root -
Philip Kovacs 9be8f2
EOF
Philip Kovacs 9be8f2
Philip Kovacs bff578
# logrotate.d file for /var/log/slurm logging
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_var}/log/%{name}
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_sysconfdir}/logrotate.d
Philip Kovacs 9be8f2
cat >%{buildroot}%{_sysconfdir}/logrotate.d/%{name} <
Philip Kovacs 9be8f2
%{_var}/log/%{name}/* {
Philip Kovacs 9be8f2
    missingok
Philip Kovacs 9be8f2
    notifempty
Philip Kovacs 9be8f2
    copytruncate
Philip Kovacs 9be8f2
    rotate 5
Philip Kovacs 9be8f2
}
Philip Kovacs 9be8f2
EOF
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# /var/run/slurm, /var/spool/slurm dirs, (ghost) pid files
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_rundir}/%{name}
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_var}/spool/%{name}/ctld
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_var}/spool/%{name}/d
Philip Kovacs 9be8f2
touch %{buildroot}%{_rundir}/%{name}/slurmctld.pid
Philip Kovacs 9be8f2
touch %{buildroot}%{_rundir}/%{name}/slurmd.pid
Philip Kovacs 9be8f2
touch %{buildroot}%{_rundir}/%{name}/slurmdbd.pid
Philip Kovacs 9be8f2
Philip Kovacs bff578
# install desktop file for sview GTK+ program
Philip Kovacs 9be8f2
desktop-file-install \
Philip Kovacs 9be8f2
    --dir=%{buildroot}%{_datadir}/applications \
Philip Kovacs 9be8f2
    share/applications/%{name}-sview.desktop
Philip Kovacs 9be8f2
Philip Kovacs bff578
# install desktop icon for sview GTK+ program
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_datadir}/icons/hicolor/128x128/apps
Philip Kovacs 9be8f2
install -m 0644 share/icons/hicolor/128x128/apps/%{name}.png \
Philip Kovacs 9be8f2
    %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
Philip Kovacs 9be8f2
Philip Kovacs 175622
# install the extras/slurm-setuser script
Philip Kovacs bff578
install -m 0755 extras/%{name}-setuser \
Philip Kovacs bff578
    %{buildroot}%{_bindir}/%{name}-setuser
Philip Kovacs bff578
Philip Kovacs 9be8f2
install -m 0755 contribs/sjstat %{buildroot}%{_bindir}/sjstat
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# fix perms on these files so debug info is extracted without error
Philip Kovacs 9be8f2
chmod 0755 %{buildroot}%{perl_vendorarch}/auto/Slurm/Slurm.so
Philip Kovacs 9be8f2
chmod 0755 %{buildroot}%{perl_vendorarch}/auto/Slurmdb/Slurmdb.so
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# build man pages for contribs perl scripts
Philip Kovacs 9be8f2
for prog in sjobexitmod sjstat mpiexec pbsnodes qalter qdel qhold qrerun qrls \
Philip Kovacs 9be8f2
    qstat qsub bjobs bkill bsub lsid
Philip Kovacs 9be8f2
do
Philip Kovacs 9be8f2
    rm -f %{buildroot}%{_mandir}/man1/${prog}.1
Philip Kovacs 9be8f2
    pod2man %{buildroot}%{_bindir}/${prog} > %{buildroot}%{_mandir}/man1/${prog}.1
Philip Kovacs 9be8f2
done
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# contribs docs
Philip Kovacs 9be8f2
install -d -m 0755 %{buildroot}%{_docdir}/%{name}/contribs/lua
Philip Kovacs 9be8f2
install -m 0644 contribs/README %{buildroot}%{_docdir}/%{name}/contribs
Philip Kovacs b8cc3a
install -m 0644 contribs/lua/*.lua %{buildroot}%{_docdir}/%{name}/contribs/lua
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# remove libtool archives
Philip Kovacs 9be8f2
find %{buildroot} -name \*.a -o -name \*.la | xargs rm -f
Philip Kovacs 188ee2
# remove libslurmfull, libslurm_pmi symlinks (non-development, internal libraries)
Philip Kovacs bff578
rm -rf %{buildroot}%{_libdir}/libslurmfull.so
Philip Kovacs 188ee2
rm -rf %{buildroot}%{_libdir}/libslurm_pmi.so
Philip Kovacs bff578
# remove auth_none plugin
Philip Kovacs bff578
rm -f %{buildroot}%{_libdir}/%{name}/auth_none.so
Philip Kovacs 9be8f2
# remove example plugins
Philip Kovacs 9be8f2
rm -f %{buildroot}%{_libdir}/%{name}/job_submit_defaults.so
Philip Kovacs 9be8f2
rm -f %{buildroot}%{_libdir}/%{name}/job_submit_logging.so
Philip Kovacs 9be8f2
rm -f %{buildroot}%{_libdir}/%{name}/job_submit_partition.so
Philip Kovacs 9be8f2
# remove cray files
Philip Kovacs 9be8f2
rm -f %{buildroot}%{_mandir}/man5/cray*
Philip Kovacs 9be8f2
# remove perl cruft
Philip Kovacs 9be8f2
rm -f %{buildroot}%{perl_vendorarch}/auto/Slurm*/.packlist
Philip Kovacs 9be8f2
rm -f %{buildroot}%{perl_vendorarch}/auto/Slurm*/Slurm*.bs
Philip Kovacs 9be8f2
rm -f %{buildroot}%{perl_archlib}/perllocal.pod
Philip Kovacs 9be8f2
Philip Kovacs 0015ad
%ldconfig_scriptlets devel
Philip Kovacs 0015ad
%ldconfig_scriptlets libs
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# -----
Philip Kovacs 9be8f2
# Slurm
Philip Kovacs 9be8f2
# -----
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files
Philip Kovacs 9be8f2
%doc CONTRIBUTING.md DISCLAIMER META NEWS README.rst RELEASE_NOTES
Philip Kovacs 9be8f2
%license COPYING LICENSE.OpenSSL
Philip Kovacs bff578
%dir %{_libdir}/%{name}
Philip Kovacs bff578
%dir %{_rundir}/%{name}
Philip Kovacs 9be8f2
%dir %{_sysconfdir}/%{name}
Philip Kovacs bff578
%dir %{_var}/log/%{name}
Philip Kovacs bff578
%dir %{_var}/spool/%{name}
Philip Kovacs bff578
%dir %{_var}/spool/%{name}/ctld
Philip Kovacs bff578
%dir %{_var}/spool/%{name}/d
Philip Kovacs 0865bd
%config(noreplace) %{_sysconfdir}/%{name}/cgroup.conf
Philip Kovacs 9be8f2
%config(noreplace) %{_sysconfdir}/%{name}/slurm.conf
Philip Kovacs 2baafb
%{_bindir}/sacct
Philip Kovacs 2baafb
%{_bindir}/sacctmgr
Philip Kovacs 2baafb
%{_bindir}/salloc
Philip Kovacs 2baafb
%{_bindir}/sattach
Philip Kovacs 2baafb
%{_bindir}/sbatch
Philip Kovacs 2baafb
%{_bindir}/sbcast
Philip Kovacs 2baafb
%{_bindir}/scancel
Philip Kovacs 2baafb
%{_bindir}/scontrol
Philip Kovacs 2baafb
%{_bindir}/scrontab
Philip Kovacs 2baafb
%{_bindir}/sdiag
Philip Kovacs 2baafb
%{_bindir}/sh5util
Philip Kovacs 2baafb
%{_bindir}/sinfo
Philip Kovacs 2baafb
%{_bindir}/sprio
Philip Kovacs 2baafb
%{_bindir}/squeue
Philip Kovacs 2baafb
%{_bindir}/sreport
Philip Kovacs 2baafb
%{_bindir}/srun
Philip Kovacs 2baafb
%{_bindir}/sshare
Philip Kovacs 2baafb
%{_bindir}/sstat
Philip Kovacs 2baafb
%{_bindir}/strigger
Philip Kovacs bff578
%{_bindir}/%{name}-setuser
Philip Kovacs 2baafb
%{_libdir}/%{name}/accounting_storage_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/acct_gather_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/auth_munge.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/burst_buffer_generic.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/cli_filter_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/core_spec_none.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/cred_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/ext_sensors_none.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/gres_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/gpu_generic.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/job_container_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/job_submit_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/jobacct_gather_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/jobcomp_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/launch_slurm.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/mcs_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/mpi_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/node_features_knl_generic.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/power_none.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/preempt_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/prep_script.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/priority_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/proctrack_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/route_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/sched_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/select_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/site_factor_none.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/slurmctld_nonstop.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/switch_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/task_*.so
Philip Kovacs 2baafb
%{_libdir}/%{name}/topology_*.so
Philip Kovacs 2baafb
%{_mandir}/man1/sacct.1*
Philip Kovacs 2baafb
%{_mandir}/man1/sacctmgr.1*
Philip Kovacs 2baafb
%{_mandir}/man1/salloc.1*
Philip Kovacs 2baafb
%{_mandir}/man1/sattach.1*
Philip Kovacs 2baafb
%{_mandir}/man1/sbatch.1*
Philip Kovacs 2baafb
%{_mandir}/man1/sbcast.1*
Philip Kovacs 2baafb
%{_mandir}/man1/scancel.1*
Philip Kovacs 2baafb
%{_mandir}/man1/scontrol.1*
Philip Kovacs 2baafb
%{_mandir}/man1/scrontab.1*
Philip Kovacs 2baafb
%{_mandir}/man1/sdiag.1*
Philip Kovacs 2baafb
%{_mandir}/man1/sh5util.1*
Philip Kovacs 2baafb
%{_mandir}/man1/sinfo.1*
Philip Kovacs 2baafb
%{_mandir}/man1/slurm.1*
Philip Kovacs 2baafb
%{_mandir}/man1/sprio.1*
Philip Kovacs 2baafb
%{_mandir}/man1/squeue.1*
Philip Kovacs 2baafb
%{_mandir}/man1/sreport.1*
Philip Kovacs 2baafb
%{_mandir}/man1/srun.1*
Philip Kovacs 2baafb
%{_mandir}/man1/sshare.1*
Philip Kovacs 2baafb
%{_mandir}/man1/sstat.1*
Philip Kovacs 2baafb
%{_mandir}/man1/strigger.1*
Philip Kovacs 2baafb
%{_mandir}/man5/acct_gather.conf.5*
Philip Kovacs 2baafb
%{_mandir}/man5/burst_buffer.conf.5*
Philip Kovacs 2baafb
%{_mandir}/man5/cgroup.conf.5*
Philip Kovacs 2baafb
%{_mandir}/man5/ext_sensors.conf.5*
Philip Kovacs 2baafb
%{_mandir}/man5/gres.conf.5*
Philip Kovacs 2baafb
%{_mandir}/man5/knl.conf.5*
Philip Kovacs 2baafb
%{_mandir}/man5/nonstop.conf.5*
Philip Kovacs 2baafb
%{_mandir}/man5/slurm.conf.5*
Philip Kovacs 2baafb
%{_mandir}/man5/topology.conf.5*
Philip Kovacs 2baafb
%{_mandir}/man8/slurmrestd.8*
Philip Kovacs 2baafb
%{_mandir}/man8/spank.8*
Philip Kovacs bff578
%{_sysconfdir}/logrotate.d/%{name}
Philip Kovacs bff578
%{_sysconfdir}/%{name}/cgroup*.conf.example
Philip Kovacs bff578
%{_sysconfdir}/%{name}/slurm.conf.example
Philip Kovacs bff578
%{_tmpfilesdir}/slurm.conf
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# -----------
Philip Kovacs 9be8f2
# Slurm-devel
Philip Kovacs 9be8f2
# -----------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files devel
Philip Kovacs bff578
%dir %{_includedir}/%{name}
Philip Kovacs 9be8f2
%dir %{_libdir}/%{name}/src
Philip Kovacs 9be8f2
%dir %{_libdir}/%{name}/src/sattach
Philip Kovacs 9be8f2
%dir %{_libdir}/%{name}/src/srun
Philip Kovacs bff578
%{_includedir}/%{name}/slurm.h
Philip Kovacs bff578
%{_includedir}/%{name}/slurm_errno.h
Philip Kovacs bff578
%{_includedir}/%{name}/slurmdb.h
Philip Kovacs bff578
%{_includedir}/%{name}/smd_ns.h
Philip Kovacs bff578
%{_includedir}/%{name}/spank.h
Philip Kovacs 2baafb
%{_libdir}/libslurm.so
Philip Kovacs bff578
%{_libdir}/%{name}/src/sattach/sattach.wrapper.c
Philip Kovacs 9be8f2
%{_libdir}/%{name}/src/srun/srun.wrapper.c
Philip Kovacs 9be8f2
%{_mandir}/man3/*.3.*
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# ---------
Philip Kovacs 9be8f2
# Slurm-doc
Philip Kovacs 9be8f2
# ---------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files doc
Philip Kovacs 9be8f2
%dir %{_docdir}/%{name}
Philip Kovacs 9be8f2
%dir %{_docdir}/%{name}/html
Philip Kovacs 9be8f2
%{_docdir}/%{name}/html/*
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# ---------
Philip Kovacs 9be8f2
# Slurm-gui
Philip Kovacs 9be8f2
# ---------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files gui
Philip Kovacs 9be8f2
%{_bindir}/sview
Philip Kovacs 9be8f2
%{_datadir}/applications/*.desktop
Philip Kovacs 9be8f2
%{_datadir}/icons/hicolor/*/apps/%{name}.png
Philip Kovacs 9be8f2
%{_mandir}/man1/sview.1*
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# ----------
Philip Kovacs 9be8f2
# Slurm-libs
Philip Kovacs 9be8f2
# ----------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files libs
Philip Kovacs 9be8f2
%{_libdir}/libslurm.so.*
Philip Kovacs bff578
%{_libdir}/libslurmfull-*.so
Philip Kovacs 188ee2
%{_libdir}/libslurm_pmi-*.so
Philip Kovacs 9be8f2
Philip Kovacs 0ff89d
# ---------
Philip Kovacs 0ff89d
# Slurm-pmi
Philip Kovacs 0ff89d
# ---------
Philip Kovacs 0ff89d
Philip Kovacs 0ff89d
%files pmi
Philip Kovacs 0ff89d
%{_libdir}/libpmi.so.0*
Philip Kovacs 0ff89d
%{_libdir}/libpmi2.so.0*
Philip Kovacs 0ff89d
Philip Kovacs 0ff89d
# ---------------
Philip Kovacs 0ff89d
# Slurm-pmi-devel
Philip Kovacs 0ff89d
# ---------------
Philip Kovacs 0ff89d
Philip Kovacs 0ff89d
%files pmi-devel
Philip Kovacs 0ff89d
%{_includedir}/%{name}/pmi*.h
Philip Kovacs 0ff89d
%{_libdir}/libpmi.so
Philip Kovacs 0ff89d
%{_libdir}/libpmi2.so
Philip Kovacs 0ff89d
Philip Kovacs 9be8f2
# -------------
Philip Kovacs bff578
# Slurm-rrdtool
Philip Kovacs 9be8f2
# -------------
Philip Kovacs 9be8f2
Philip Kovacs bff578
%files rrdtool
Philip Kovacs bff578
%{_libdir}/%{name}/ext_sensors_rrd.so
Philip Kovacs 9be8f2
Philip Kovacs bff578
# ---------
Philip Kovacs bff578
# Slurmctld
Philip Kovacs bff578
# ---------
Philip Kovacs 9be8f2
Philip Kovacs bff578
%files slurmctld
Philip Kovacs bff578
%{_mandir}/man8/slurmctld.8*
Philip Kovacs bff578
%{_sbindir}/slurmctld
Philip Kovacs bff578
%{_unitdir}/slurmctld.service
Philip Kovacs bff578
%ghost %{_rundir}/%{name}/slurmctld.pid
Philip Kovacs 9be8f2
Philip Kovacs bff578
# ------
Philip Kovacs bff578
# Slurmd
Philip Kovacs bff578
# ------
Philip Kovacs 9be8f2
Philip Kovacs bff578
%files slurmd
Philip Kovacs bff578
%{_mandir}/man8/slurmd.8*
Philip Kovacs bff578
%{_mandir}/man8/slurmstepd.8*
Philip Kovacs bff578
%{_sbindir}/slurmd
Philip Kovacs bff578
%{_sbindir}/slurmstepd
Philip Kovacs bff578
%{_unitdir}/slurmd.service
Philip Kovacs bff578
%ghost %{_rundir}/%{name}/slurmd.pid
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# --------
Philip Kovacs 9be8f2
# Slurmdbd
Philip Kovacs 9be8f2
# --------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files slurmdbd
Philip Kovacs 9be8f2
%config(noreplace) %{_sysconfdir}/%{name}/slurmdbd.conf
Philip Kovacs bff578
%{_libdir}/%{name}/accounting_storage_mysql.so
Philip Kovacs 9be8f2
%{_mandir}/man5/slurmdbd.conf.5*
Philip Kovacs 9be8f2
%{_mandir}/man8/slurmdbd.8*
Philip Kovacs bff578
%{_sbindir}/slurmdbd
Philip Kovacs bff578
%{_sysconfdir}/%{name}/slurmdbd.conf.example
Philip Kovacs bff578
%{_unitdir}/slurmdbd.service
Philip Kovacs bff578
%ghost %{_rundir}/%{name}/slurmdbd.pid
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# --------------
Philip Kovacs 9be8f2
# Slurm-contribs
Philip Kovacs 9be8f2
# --------------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files contribs
Philip Kovacs bff578
%dir %{_docdir}/%{name}
Philip Kovacs bff578
%dir %{_docdir}/%{name}/contribs
Philip Kovacs bff578
%dir %{_docdir}/%{name}/contribs/lua
Philip Kovacs bff578
%{_docdir}/%{name}/contribs/README
Philip Kovacs b8cc3a
%{_docdir}/%{name}/contribs/lua/*.lua
Philip Kovacs 9be8f2
%{_bindir}/seff
Philip Kovacs 9be8f2
%{_bindir}/sgather
Philip Kovacs 9be8f2
%{_bindir}/sjobexitmod
Philip Kovacs 9be8f2
%{_bindir}/sjstat
Philip Kovacs 9be8f2
%{_bindir}/smail
Philip Kovacs 9be8f2
%{_mandir}/man1/sgather.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/sjobexitmod.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/sjstat.1*
Philip Kovacs 9be8f2
Philip Kovacs b8cc3a
# ---------------
Philip Kovacs b8cc3a
# Slurm-nss_slurm
Philip Kovacs b8cc3a
# ---------------
Philip Kovacs b8cc3a
Philip Kovacs b8cc3a
%files nss_slurm
Philip Kovacs b8cc3a
%{_libdir}/libnss_slurm.so.2
Philip Kovacs b8cc3a
Philip Kovacs 9be8f2
# --------------
Philip Kovacs 9be8f2
# Slurm-openlava
Philip Kovacs 9be8f2
# --------------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files openlava
Philip Kovacs 9be8f2
%{_bindir}/bjobs
Philip Kovacs 9be8f2
%{_bindir}/bkill
Philip Kovacs 9be8f2
%{_bindir}/bsub
Philip Kovacs 9be8f2
%{_bindir}/lsid
Philip Kovacs 9be8f2
%{_mandir}/man1/bjobs.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/bkill.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/bsub.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/lsid.1*
Philip Kovacs 9be8f2
Philip Kovacs 0ff89d
# ---------------
Philip Kovacs 0ff89d
# Slurm-pam_slurm
Philip Kovacs 0ff89d
# ---------------
Philip Kovacs 0ff89d
Philip Kovacs 0ff89d
%files pam_slurm
Philip Kovacs 0ff89d
%{_libdir}/security/pam_slurm.so
Philip Kovacs 0ff89d
%{_libdir}/security/pam_slurm_adopt.so
Philip Kovacs 0ff89d
Philip Kovacs 9be8f2
# -------------
Philip Kovacs 9be8f2
# Slurm-perlapi
Philip Kovacs 9be8f2
# -------------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files perlapi
Philip Kovacs 9be8f2
%dir %{perl_vendorarch}/Slurm
Philip Kovacs bff578
%dir %{perl_vendorarch}/auto/Slurm
Philip Kovacs bff578
%dir %{perl_vendorarch}/auto/Slurmdb
Philip Kovacs bff578
%{_mandir}/man3/Slurm*.3pm*
Philip Kovacs bff578
%{perl_vendorarch}/Slurm.pm
Philip Kovacs 9be8f2
%{perl_vendorarch}/Slurm/*.pm
Philip Kovacs 9be8f2
%{perl_vendorarch}/Slurmdb.pm
Philip Kovacs 9be8f2
%{perl_vendorarch}/auto/Slurm/Slurm.so
Philip Kovacs 9be8f2
%{perl_vendorarch}/auto/Slurmdb/Slurmdb.so
Philip Kovacs 9be8f2
%{perl_vendorarch}/auto/Slurmdb/autosplit.ix
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
# ------------
Philip Kovacs 9be8f2
# Slurm-torque
Philip Kovacs 9be8f2
# ------------
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%files torque
Philip Kovacs 9be8f2
%{_bindir}/generate_pbs_nodefile
Philip Kovacs 9be8f2
%{_bindir}/mpiexec
Philip Kovacs 9be8f2
%{_bindir}/pbsnodes
Philip Kovacs 9be8f2
%{_bindir}/qalter
Philip Kovacs 9be8f2
%{_bindir}/qdel
Philip Kovacs 9be8f2
%{_bindir}/qhold
Philip Kovacs 9be8f2
%{_bindir}/qrerun
Philip Kovacs 9be8f2
%{_bindir}/qrls
Philip Kovacs 9be8f2
%{_bindir}/qstat
Philip Kovacs 9be8f2
%{_bindir}/qsub
Philip Kovacs bff578
%{_libdir}/%{name}/job_submit_pbs.so
Philip Kovacs bff578
%{_libdir}/%{name}/spank_pbs.so
Philip Kovacs 9be8f2
%{_mandir}/man1/pbsnodes.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/qalter.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/qdel.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/qhold.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/qrerun.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/qrls.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/qstat.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/qsub.1*
Philip Kovacs 9be8f2
%{_mandir}/man1/mpiexec.1*
Philip Kovacs 9be8f2
Philip Kovacs bff578
%post slurmctld
Philip Kovacs 9be8f2
%systemd_post slurmctld.service
Philip Kovacs 9be8f2
Philip Kovacs bff578
%preun slurmctld
Philip Kovacs 9be8f2
%systemd_preun slurmctld.service
Philip Kovacs 9be8f2
Philip Kovacs bff578
%postun slurmctld
Philip Kovacs 0d2eb3
%systemd_postun_with_restart slurmctld.service
Philip Kovacs 9be8f2
Philip Kovacs bff578
%post slurmd
Philip Kovacs bff578
%systemd_post slurmd.service
Philip Kovacs 9be8f2
Philip Kovacs bff578
%preun slurmd
Philip Kovacs bff578
%systemd_preun slurmd.service
Philip Kovacs 9be8f2
Philip Kovacs bff578
%postun slurmd
Philip Kovacs bff578
%systemd_postun_with_restart slurmd.service
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%post slurmdbd
Philip Kovacs 9be8f2
%systemd_post slurmdbd.service
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%preun slurmdbd
Philip Kovacs 9be8f2
%systemd_preun slurmdbd.service
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%postun slurmdbd
Philip Kovacs 9be8f2
%systemd_postun_with_restart slurmdbd.service
Philip Kovacs 9be8f2
Philip Kovacs 9be8f2
%changelog
Fedora Release Engineering 1661d4
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20.11.3-2
Fedora Release Engineering 1661d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Fedora Release Engineering 1661d4
Philip Kovacs 44b9f7
* Tue Jan 19 2021 Philip Kovacs <pkfed@fedoraproject.org> - 20.11.3-1
Philip Kovacs 44b9f7
- Release of 20.11.3
Philip Kovacs 44b9f7
Philip Kovacs 2baafb
* Wed Jan 6 2021 Philip Kovacs <pkfed@fedoraproject.org> - 20.11.2-2
Philip Kovacs 2baafb
- Minor spec adjustments
Philip Kovacs 2baafb
Philip Kovacs 188ee2
* Tue Jan 5 2021 Philip Kovacs <pkfed@fedoraproject.org> - 20.11.2-1
Philip Kovacs 188ee2
- Release of 20.11.2
Philip Kovacs 188ee2
Philip Kovacs b8027d
* Tue Nov 17 2020 Philip Kovacs <pkfed@fedoraproject.org> - 20.02.6-1
Philip Kovacs b8027d
- Release of 20.02.6
Philip Kovacs b8027d
- Closes security issues CVE-2020-27745 and CVE-2020-27746
Philip Kovacs b8027d
Fedora Release Engineering 5d7212
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 20.02.3-5
Fedora Release Engineering 5d7212
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Fedora Release Engineering 5d7212
3c59d3
* Sat Jun 27 2020 Jitka Plesnikova <jplesnik@redhat.com> - 20.02.3-4
3c59d3
- Perl 5.32 re-rebuild updated packages
3c59d3
6dae6b
* Thu Jun 25 2020 Orion Poplawski <orion@cora.nwra.com> - 20.02.3-3
6dae6b
- Rebuild for hdf5 1.10.6
6dae6b
c4b762
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 20.02.3-2
c4b762
- Perl 5.32 rebuild
c4b762
Philip Kovacs 47f77f
* Mon May 25 2020 Philip Kovacs <pkfed@fedoraproject.org> - 20.02.3-1
Philip Kovacs 47f77f
- Release of 20.02.3
Philip Kovacs 47f77f
Philip Kovacs d315fd
* Tue May 5 2020 Philip Kovacs <pkfed@fedoraproject.org> - 20.02.2-1
Philip Kovacs d315fd
- Release of 20.02.2
Philip Kovacs d315fd
Philip Kovacs 47b1ef
* Mon Mar 30 2020 Philip Kovacs <pkfed@fedoraproject.org> - 19.05.6-1
Philip Kovacs 47b1ef
- Release of 19.05.6
Philip Kovacs 47b1ef
Fedora Release Engineering ff62ce
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 19.05.5-3
Fedora Release Engineering ff62ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Fedora Release Engineering ff62ce
Philip Kovacs 4bfe5d
* Wed Jan 22 2020 Philip Kovacs <pkfed@fedoraproject.org> - 19.05.5-2
Philip Kovacs 4bfe5d
- Use cflag -fcommon to allow for building with gcc 10
Philip Kovacs 4bfe5d
Philip Kovacs 56a8b8
* Mon Dec 23 2019 Philip Kovacs <pkfed@fedoraproject.org> - 19.05.5-1
Philip Kovacs 56a8b8
- Release of 19.05.5
Philip Kovacs 56a8b8
- Closes security issues CVE-2019-19727, CVE-2019-19728
Philip Kovacs 56a8b8
Philip Kovacs 1ffcf5
* Mon Nov 18 2019 Philip Kovacs <pkfed@fedoraproject.org> - 19.05.4-1
Philip Kovacs 1ffcf5
- Release of 19.05.4
Philip Kovacs 1ffcf5
Philip Kovacs 9262a5
* Mon Oct 7 2019 Philip Kovacs <pkfed@fedoraproject.org> - 19.05.3-1
Philip Kovacs 9262a5
- Release of 19.05.3
Philip Kovacs 9262a5
Zbigniew Jędrzejewski-Szmek 83b6c3
* Sun Aug 25 2019 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 19.05.2-2
Zbigniew Jędrzejewski-Szmek 83b6c3
- Rebuilt for hwloc-2.0
Zbigniew Jędrzejewski-Szmek 83b6c3
Philip Kovacs 9262a5
* Tue Aug 13 2019 Philip Kovacs <pkfed@fedoraproject.org> - 19.05.2-1
Philip Kovacs c00dbe
- Release of 19.05.2
Philip Kovacs c00dbe
Fedora Release Engineering 0dca84
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 19.05.1-3
Fedora Release Engineering 0dca84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Fedora Release Engineering 0dca84
Philip Kovacs 9262a5
* Sun Jul 21 2019 Philip Kovacs <pkfed@fedoraproject.org> - 19.05.1-2
Philip Kovacs 7629b5
- Create slurm-pmi and slurm-pmi-devel subpackages for pmi/pmi2 libs
Philip Kovacs 7629b5
- Remove rpm-generated pkgconfig files until upstream provides them
Philip Kovacs 7629b5
- Do not pull dependencies with pkgconfig unless package uses it
Philip Kovacs 7629b5
Philip Kovacs 9262a5
* Mon Jul 15 2019 Philip Kovacs <pkfed@fedoraproject.org> - 19.05.1-1
Philip Kovacs 8a8ef7
- Release of 19.05.1
Philip Kovacs 8a8ef7
- Closes security issue (CVE-2019-12838)
Philip Kovacs 8a8ef7
- Configure for UCX support on supported arches
Philip Kovacs 8a8ef7
Philip Kovacs 9262a5
* Tue Jul 2 2019 Philip Kovacs <pkfed@fedoraproject.org> - 19.05.0-5
Philip Kovacs 1173b3
- Do not install slurm implementation of libpmi/pmi2 libraries
Philip Kovacs 1173b3
- in favor of the faster implementation provided by pmix
Philip Kovacs 1173b3
- Remove pmi environment module formerly used to select the slurm
Philip Kovacs 1173b3
- vs pmix implementations of libpmi/pmi2
Philip Kovacs 1173b3
Philip Kovacs 9262a5
* Wed Jun 19 2019 Philip Kovacs <pkfed@fedoraproject.org> - 19.05.0-4
Philip Kovacs 24291c
- Correct the configure for pmix
Philip Kovacs 24291c
- Correct the slurm_pmix_soname patch
Philip Kovacs 24291c
Philip Kovacs 9262a5
* Wed Jun 19 2019 Philip Kovacs <pkfed@fedoraproject.org> - 19.05.0-3
Philip Kovacs a4e1fa
- Stop using autotools macros that were removed from rpm
Philip Kovacs a4e1fa
Philip Kovacs 9262a5
* Sun Jun 9 2019 Philip Kovacs <pkfed@fedoraproject.org> - 19.05.0-2
Philip Kovacs 8cb979
- Exclude upstream-deprecated 32-bit architectures
Philip Kovacs 8cb979
Philip Kovacs 9262a5
* Sun Jun 9 2019 Philip Kovacs <pkfed@fedoraproject.org> - 19.05.0-1
Philip Kovacs b8cc3a
- Release of 19.05.0
Philip Kovacs b8cc3a
- Added nss_plugin subpackage for optional nss plugin
Philip Kovacs b8cc3a
- Added patch to fix 19.05.0 testsuite
Philip Kovacs b8cc3a
- Adjusted cray patch to remove all cray, cray_aries plugins
Philip Kovacs b8cc3a
- Reflect all upstream plugin additions/deletions
Philip Kovacs b8cc3a
- Remove openssl build dependency
Philip Kovacs b8cc3a
81b8fc
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 18.08.7-2
81b8fc
- Perl 5.30 rebuild
81b8fc
Philip Kovacs 9262a5
* Fri Apr 12 2019 Philip Kovacs <pkfed@fedoraproject.org> - 18.08.7-1
Philip Kovacs 3eafc8
- Release of 18.08.7
Philip Kovacs 3eafc8
edd41a
* Sat Mar 16 2019 Orion Poplawski <orion@nwra.com> - 18.08.6-2
edd41a
- Rebuild for hdf5 1.10.5
edd41a
Philip Kovacs 9262a5
* Thu Mar 7 2019 Philip Kovacs <pkfed@fedoraproject.org> - 18.08.6-1
Philip Kovacs 714810
- Release of 18.08.6
Philip Kovacs 714810
Igor Gnatenko db26e9
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 18.08.5-2
Igor Gnatenko db26e9
- Rebuild for readline 8.0
Igor Gnatenko db26e9
Philip Kovacs 9262a5
* Thu Jan 31 2019 Philip Kovacs <pkfed@fedoraproject.org> - 18.08.5-1
Philip Kovacs 0865bd
- Release of 18.08.5
Philip Kovacs 0865bd
Philip Kovacs 9262a5
* Thu Jan 31 2019 Philip Kovacs <pkfed@fedoraproject.org> - 17.11.13-2
Philip Kovacs 6c79e3
- Fix build issue on 32-bit architectures
Philip Kovacs 6c79e3
Philip Kovacs 9262a5
* Wed Jan 30 2019 Philip Kovacs <pkfed@fedoraproject.org> - 17.11.13-1
Philip Kovacs 2c37f7
- Release of 17.11.13
Philip Kovacs 2c37f7
- Closes security issue CVE-2019-6438
Philip Kovacs 2c37f7
Philip Kovacs 9262a5
* Wed Oct 24 2018 Philip Kovacs <pkfed@fedoraproject.org> - 17.11.12-1
Philip Kovacs 1ab02b
- Release of 17.11.12
Philip Kovacs 1ab02b
Philip Kovacs 9262a5
* Sat Oct 20 2018 Philip Kovacs <pkfed@fedoraproject.org> - 17.11.11-1
Philip Kovacs a791b4
- Release of 17.11.11
Yu Watanabe be586a
Philip Kovacs a7b1bb
* Thu Oct 11 2018 Yu Watanabe <watanabe.yu@gmail.com> - 17.11.10-1
Philip Kovacs a7b1bb
- Release of 17.11.10
Philip Kovacs a7b1bb
Philip Kovacs 9262a5
* Fri Sep 28 2018 Philip Kovacs <pkfed@fedoraproject.org> - 17.11.9-2
Philip Kovacs e899c8
- Release of 17.11.9-2 (new upstream tarball)
Philip Kovacs e899c8
Philip Kovacs 9262a5
* Fri Aug 10 2018 Philip Kovacs <pkfed@fedoraproject.org> - 17.11.9-1
Philip Kovacs a45a69
- Release of 17.11.9
Philip Kovacs a45a69
Philip Kovacs 9262a5
* Fri Jul 20 2018 Philip Kovacs <pkfed@fedoraproject.org> - 17.11.8-1
Philip Kovacs f68646
- Release of 17.11.8
Philip Kovacs f68646
Fedora Release Engineering 36345f
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 17.11.7-3
Fedora Release Engineering 36345f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Fedora Release Engineering 36345f
cf0005
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 17.11.7-2
cf0005
- Perl 5.28 rebuild
cf0005
Philip Kovacs 9262a5
* Fri Jun 1 2018 Philip Kovacs <pkfed@fedoraproject.org> - 17.11.7-1
Philip Kovacs 7abb68
- Release of 17.11.7
Philip Kovacs 7abb68
- Closes security issue CVE-2018-10995
Philip Kovacs 7abb68
Philip Kovacs 9262a5
* Sat May 12 2018 Philip Kovacs <pkfed@fedoraproject.org> - 17.11.6-1
Philip Kovacs a3fb7f
- Release of 17.11.6
Philip Kovacs a3fb7f
- Added patch to avoid building contribs/cray (Yu Watanabe)
Philip Kovacs a3fb7f
- Added lz4 support via new BuildRequires (Yu Watanabe)
Philip Kovacs a3fb7f
- Replaced obsolete packages libibmad-devel and libibumad-devel
Philip Kovacs a3fb7f
  with rdma-core-devel (Yu Watanabe)
Philip Kovacs a3fb7f
- Updated package descriptions (Yu Watanabe)
Philip Kovacs 0d2eb3
Philip Kovacs 9262a5
* Fri Mar 16 2018 Philip Kovacs <pkfed@fedoraproject.org> - 17.11.5-1
Philip Kovacs 454309
- Release of 17.11.5
Philip Kovacs 454309
- Closes security issue CVE-2018-7033
Philip Kovacs 454309
Philip Kovacs 9262a5
* Sat Mar 3 2018 Philip Kovacs <pkfed@fedoraproject.org> - 17.11.4-1
Philip Kovacs 0015ad
- Release of 17.11.4
Philip Kovacs 0015ad
- Add perl-devel, python3 to build requirements
Philip Kovacs 0015ad
- Add patch to convert python references to python3
Philip Kovacs 0015ad
- Use LDFLAGS to disable -z now instaed of _hardened_ldflags
Philip Kovacs 0015ad
Philip Kovacs 9262a5
* Thu Feb 15 2018 Philip Kovacs <pkfed@fedoraproject.org> - 17.11.3-3
Philip Kovacs cb4fce
- Add perl-interpreter to BuildRequires
Philip Kovacs cb4fce
Philip Kovacs 9262a5
* Thu Feb 15 2018 Philip Kovacs <pkfed@fedoraproject.org> - 17.11.3-2
Philip Kovacs 8a8d2d
- Rebuild for libevent soname bump
Philip Kovacs 8a8d2d
Philip Kovacs 9262a5
* Sat Feb 10 2018 Philip Kovacs <pkfed@fedoraproject.org> - 17.11.3-1
Philip Kovacs bff578
- Release of 17.11 series
Philip Kovacs bff578
- Re-aligned rpm packaging to be closer to upstream
Philip Kovacs bff578
- Enabled new slurm native X11 support using ssh2
Philip Kovacs bff578
- Enabled new shared libslurm for smaller code size
Philip Kovacs bff578
- Enabled `check` unit testing via check-devel
Philip Kovacs bff578
- Added environment module support for pmi/slurm
Philip Kovacs bff578
- Add dependency to pmix
Philip Kovacs bff578
- Removed gtk-update-icon-cache scriptlets
Philip Kovacs bff578
- Use new ldconfig_scriptlets macro
Philip Kovacs bff578
Fedora Release Engineering 37e6b0
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 17.02.9-4
Fedora Release Engineering 37e6b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Fedora Release Engineering 37e6b0
Philip Kovacs 9262a5
* Thu Nov 16 2017 Philip Kovacs <pkfed@fedoraproject.org> - 17.02.9-3
Philip Kovacs bff578
- Added patch to enable full relro builds and operation
Philip Kovacs bff578
- Added patch to link knl_generic plugin to libnuma if available
Philip Kovacs bff578
- Remove the following cray or bluegene-only plugins
Philip Kovacs bff578
- job_container/cncu, select/alps, select/bluegene
Philip Kovacs bff578
- Rename slurm_setuser to slurm-setuser
Philip Kovacs bff578
- Minor corrections to slurm.conf
Philip Kovacs 175622
Philip Kovacs 9262a5
* Wed Nov 1 2017 Philip Kovacs <pkfed@fedoraproject.org> - 17.02.9-2
Philip Kovacs bff578
- Correct desktop categories for rpmgrill.desktop-lint
Philip Kovacs 003259
Philip Kovacs 9262a5
* Wed Nov 1 2017 Philip Kovacs <pkfed@fedoraproject.org> - 17.02.9-1
Philip Kovacs bff578
- Version bump to close CVE-2017-15566
Philip Kovacs bff578
- Adjusted patches per closure of upstream bug #3942
Philip Kovacs bff578
- Added desktop categories per rpmgrill.desktop-lint
Philip Kovacs 0a53fa
Philip Kovacs 9262a5
* Wed Oct 25 2017 Philip Kovacs <pkfed@fedoraproject.org> - 17.02.8-1
Philip Kovacs bff578
- Version bump, patches adjusted
Philip Kovacs db5c17
Philip Kovacs 9262a5
* Thu Oct 5 2017 Philip Kovacs <pkfed@fedoraproject.org> - 17.02.7-4
Philip Kovacs f7f253
- Patch changes per resolution of upstream bug #4101:
Philip Kovacs bff578
- salloc/sbatch/srun: must be root to use --uid/--gid options
Philip Kovacs bff578
- salloc: supplemental groups dropped after setuid
Philip Kovacs f7f253
Philip Kovacs 9262a5
* Thu Oct 5 2017 Philip Kovacs <pkfed@fedoraproject.org> - 17.02.7-3
Philip Kovacs bff578
- Added BuildRequires gcc and minor packaging conformance items
Philip Kovacs 7245d5
Philip Kovacs 9262a5
* Sat Sep 16 2017 Philip Kovacs <pkfed@fedoraproject.org> - 17.02.7-2
Philip Kovacs bff578
- Removed unneeded Requires(pre)
Philip Kovacs bafc13
Philip Kovacs 9262a5
* Thu Sep 14 2017 Philip Kovacs <pkfed@fedoraproject.org> - 17.02.7-1
Philip Kovacs bff578
- Packaging for Fedora