forked from pool/slurm
Accepting request 493422 from home:eeich:branches:network:cluster
- Replace remaining ${RPM_BUILD_ROOT}s. - Improve description. - Fix up changelog. OBS-URL: https://build.opensuse.org/request/show/493422 OBS-URL: https://build.opensuse.org/package/show/network:cluster/slurm?expand=0&rev=18
This commit is contained in:
parent
fc6f02d304
commit
8b5c455f6f
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 8 10:10:04 UTC 2017 - eich@suse.com
|
||||
|
||||
- Replace remaining ${RPM_BUILD_ROOT}s.
|
||||
- Improve description.
|
||||
- Fix up changelog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 31 12:43:25 UTC 2017 - eich@suse.com
|
||||
- Spec file: Replace "Requires : slurm-perlapi" by
|
||||
"Requires: perl-slurm = %{version}" (boo#1031872).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 16 12:12:45 UTC 2017 - jengelh@inai.de
|
||||
|
||||
@ -52,6 +64,8 @@ Wed Feb 1 20:17:47 UTC 2017 - eich@suse.com
|
||||
failure of a Prolog script. To exploit this a user needs to anticipate or
|
||||
cause the Prolog to fail for their job. CVE-2016-10030 (bsc#1018371).
|
||||
- Replace group/user add macros with function calls.
|
||||
- Fix array initialzation and ensure strings are always NULL terminated in
|
||||
- pam_slurm.c (bsc#1007053).
|
||||
- Disable building with netloc support: the netloc API is part of the devel
|
||||
branch of hwloc. Since this devel branch was included accidentally and has
|
||||
been reversed since, we need to disable this for the time being.
|
||||
@ -75,6 +89,11 @@ Tue Jan 3 17:21:58 UTC 2017 - eich@suse.com
|
||||
- Create /var/lib/slurm as StateSaveLocation directory.
|
||||
/tmp is dangerous.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 2 19:39:56 UTC 2016 - eich@suse.com
|
||||
|
||||
- Create slurm user/group in preinstall script.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 30 15:16:05 UTC 2016 - eich@suse.com
|
||||
|
||||
|
35
slurm.spec
35
slurm.spec
@ -109,7 +109,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Recommends: %{name}-munge
|
||||
|
||||
%description
|
||||
SLURM is a cluster management and job scheduling system for Linux
|
||||
SLURM is an open source, fault-tolerant, and highly
|
||||
scalable cluster management and job scheduling system for Linux
|
||||
clusters containing up to 65,536 nodes. Components include machine
|
||||
status, partition management, job management, scheduling and
|
||||
accounting modules.
|
||||
@ -119,7 +120,7 @@ Summary: Documentation for SLURM
|
||||
Group: Documentation/HTML
|
||||
|
||||
%description doc
|
||||
Documentation for the SLURM cluster managment software.
|
||||
Documentation (html) for the SLURM cluster managment software.
|
||||
|
||||
%package -n perl-slurm
|
||||
Summary: Perl API to SLURM
|
||||
@ -227,7 +228,7 @@ Torque wrapper scripts used for helping migrate from Torque/PBS to SLURM.
|
||||
%package openlava
|
||||
Summary: Openlava/LSF wrappers for transitition from OpenLava/LSF to Slurm
|
||||
Group: Productivity/Clustering/Computing
|
||||
Requires: slurm-perlapi
|
||||
Requires: perl-slurm = %{version}
|
||||
|
||||
%description openlava
|
||||
OpenLava wrapper scripts used for helping migrate from OpenLava/LSF to Slurm
|
||||
@ -235,7 +236,7 @@ OpenLava wrapper scripts used for helping migrate from OpenLava/LSF to Slurm
|
||||
%package seff
|
||||
Summary: Mail tool that includes job statistics in user notification email
|
||||
Group: Productivity/Clustering/Computing
|
||||
Requires: slurm-perlapi
|
||||
Requires: perl-slurm = %{version}
|
||||
|
||||
%description seff
|
||||
Mail program used directly by the Slurm daemons. On completion of a job,
|
||||
@ -310,9 +311,9 @@ make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
make install-contrib DESTDIR=$RPM_BUILD_ROOT PERL_MM_PARAMS="INSTALLDIRS=vendor"
|
||||
rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/slurm.conf.template
|
||||
rm -f $RPM_BUILD_ROOT/%{_sbindir}/slurmconfgen.py
|
||||
make install-contrib DESTDIR=%{buildroot} PERL_MM_PARAMS="INSTALLDIRS=vendor"
|
||||
rm -f %{buildroot}/%{_sysconfdir}/slurm.conf.template
|
||||
rm -f %{buildroot}/%{_sbindir}/slurmconfgen.py
|
||||
|
||||
|
||||
%if 0%{?with_systemd}
|
||||
@ -322,8 +323,8 @@ ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcslurmd
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcslurmdbd
|
||||
ln -s /usr/sbin/service %{buildroot}%{_sbindir}/rcslurmctld
|
||||
%else
|
||||
install -D -m755 etc/init.d.slurm $RPM_BUILD_ROOT%{_initrddir}/slurm
|
||||
install -D -m755 etc/init.d.slurmdbd $RPM_BUILD_ROOT%{_initrddir}/slurmdbd
|
||||
install -D -m755 etc/init.d.slurm %{buildroot}%{_initrddir}/slurm
|
||||
install -D -m755 etc/init.d.slurmdbd %{buildroot}%{_initrddir}/slurmdbd
|
||||
ln -sf %{_initrddir}/slurm %{buildroot}%{_sbindir}/rcslurm
|
||||
ln -sf %{_initrddir}/slurmdbd %{buildroot}%{_sbindir}/rcslurmdbd
|
||||
%endif
|
||||
@ -336,15 +337,15 @@ install -D -m755 etc/cgroup.release_common.example %{buildroot}/%{_sysconfdir}/%
|
||||
install -D -m755 etc/cgroup.release_common.example %{buildroot}/%{_sysconfdir}/%{name}/cgroup/release_freezer
|
||||
install -D -m755 etc/cgroup.release_common.example %{buildroot}/%{_sysconfdir}/%{name}/cgroup/release_cpuset
|
||||
install -D -m755 etc/cgroup.release_common.example %{buildroot}/%{_sysconfdir}/%{name}/cgroup/release_memory
|
||||
install -D -m644 etc/slurmdbd.conf.example ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/slurmdbd.conf.example
|
||||
install -D -m755 etc/slurm.epilog.clean ${RPM_BUILD_ROOT}%{_sysconfdir}/%{name}/slurm.epilog.clean
|
||||
install -D -m755 contribs/sgather/sgather ${RPM_BUILD_ROOT}%{_bindir}/sgather
|
||||
install -D -m755 contribs/sjstat ${RPM_BUILD_ROOT}%{_bindir}/sjstat
|
||||
install -D -m644 etc/slurmdbd.conf.example %{buildroot}%{_sysconfdir}/%{name}/slurmdbd.conf.example
|
||||
install -D -m755 etc/slurm.epilog.clean %{buildroot}%{_sysconfdir}/%{name}/slurm.epilog.clean
|
||||
install -D -m755 contribs/sgather/sgather %{buildroot}%{_bindir}/sgather
|
||||
install -D -m755 contribs/sjstat %{buildroot}%{_bindir}/sjstat
|
||||
|
||||
%if 0%{?OHPC_BUILD}
|
||||
# 6/16/15 karl.w.schulz@intel.com - do not package Slurm's version of libpmi with OpenHPC.
|
||||
## rm -f %{buildroot}/%%{_libdir}/libpmi*
|
||||
## rm -f %{buildroot}/%%{_libdir}/mpi_pmi2*
|
||||
## rm -f %%{buildroot}/%%{_libdir}/libpmi*
|
||||
## rm -f %%{buildroot}/%%{_libdir}/mpi_pmi2*
|
||||
# 9/8/14 karl.w.schulz@intel.com - provide starting config file
|
||||
head -n -2 %{buildroot}/%{_sysconfdir}/%{name}/slurm.conf.example | grep -v ReturnToService > %{buildroot}/%{_sysconfdir}/%{name}/slurm.conf
|
||||
sed -i 's#\(StateSaveLocation=\).*#\1%_localstatedir/lib/slurm#' %{buildroot}/%{_sysconfdir}/%{name}/slurm.conf
|
||||
@ -388,9 +389,9 @@ mv %{buildroot}/%{perl_sitearch}/config.slurmdb.pl %{buildroot}/%{perl_vendorarc
|
||||
|
||||
# Build man pages that are generated directly by the tools
|
||||
rm -f %{buildroot}/%{_mandir}/man1/sjobexitmod.1
|
||||
${RPM_BUILD_ROOT}%{_bindir}/sjobexitmod --roff > %{buildroot}/%{_mandir}/man1/sjobexitmod.1
|
||||
%{buildroot}%{_bindir}/sjobexitmod --roff > %{buildroot}/%{_mandir}/man1/sjobexitmod.1
|
||||
rm -f %{buildroot}/%{_mandir}/man1/sjstat.1
|
||||
${RPM_BUILD_ROOT}%{_bindir}/sjstat --roff > %{buildroot}/%{_mandir}/man1/sjstat.1
|
||||
%{buildroot}%{_bindir}/sjstat --roff > %{buildroot}/%{_mandir}/man1/sjstat.1
|
||||
|
||||
# rpmlint reports wrong end of line for those files
|
||||
sed -i 's/\r$//' %{buildroot}/%{_bindir}/qrerun
|
||||
|
Loading…
Reference in New Issue
Block a user