Hello community,

here is the log from the commit of package slurm for openSUSE:Factory checked 
in at 2018-01-31 19:52:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/slurm (Old)
 and      /work/SRC/openSUSE:Factory/.slurm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "slurm"

Wed Jan 31 19:52:24 2018 rev:9 rq:571153 version:17.02.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/slurm/slurm.changes      2017-12-22 
12:19:00.669635357 +0100
+++ /work/SRC/openSUSE:Factory/.slurm.new/slurm.changes 2018-01-31 
19:52:28.359856193 +0100
@@ -1,0 +2,22 @@
+Mon Jan 29 13:43:57 UTC 2018 - [email protected]
+
+- moved config files to slurm-config package (FATE#324574).
+
+-------------------------------------------------------------------
+Mon Jan 29 04:01:28 UTC 2018 - [email protected]
+
+- Moved slurmstepd and man page into slurm-node due to slurmd dependency
+- Moved config files into slurm-node
+- Moved slurmd rc scripts into slurm-node
+- Made slurm-munge require slurm-plugins instead of slurm itself
+  - slurm-node suggested slurm-munge, causing the whole slurm to be
+    installed. The slurm-plugins seems to be a more base class
+    (FATE#324574).
+
+-------------------------------------------------------------------
+Wed Jan 17 14:21:49 UTC 2018 - [email protected]
+
+- split up light wight slurm-node package for deployment on nodes
+  (FATE#324574).
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ slurm.spec ++++++
--- /var/tmp/diff_new_pack.xEeRDu/_old  2018-01-31 19:52:29.183817876 +0100
+++ /var/tmp/diff_new_pack.xEeRDu/_new  2018-01-31 19:52:29.195817318 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package slurm
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -69,7 +69,8 @@
 Patch3:         plugins-cgroup-Fix-slurmd-for-new-API-in-hwloc-2.0.patch
 Patch4:         pam_slurm-Initialize-arrays-and-pass-sizes.patch
 Patch5:         slurmctld-service-var-run-path.patch
-Requires:       slurm-plugins = %{version}
+Requires:       slurm-config = %{version}
+Requires:       slurm-node = %{version}
 %if 0%{?suse_version} <= 1140
 Requires(pre):  pwdutils
 %else
@@ -107,7 +108,6 @@
 PreReq:         %insserv_prereq %fillup_prereq
 %endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Recommends:     %{name}-munge
 Obsoletes:      slurm-sched-wiki < %{version}
 Obsoletes:      slurmdb-direct < %{version} 
 
@@ -181,7 +181,7 @@
 Summary:        SLURM authentication and crypto implementation using Munge
 Group:          Productivity/Clustering/Computing
 Requires:       munge
-Requires:       slurm = %{version}
+Requires:       slurm-plugins = %{version}
 BuildRequires:  munge-devel
 Obsoletes:      slurm-auth-munge < %{version}
 Provides:       slurm-auth-munge = %{version}
@@ -292,6 +292,25 @@
 This package includes the Lua API to provide an interface to SLURM
 through Lua.
 
+%package node
+Summary:        Minimal slurm node 
+Group:          Productivity/Clustering/Computing
+Requires:       slurm-config = %{version}
+Requires:       slurm-plugins = %{version}
+Recommends:     %{name}-munge
+
+%description node
+This package contains just the minmal code to run a compute node.
+
+%package config
+Summary:        Config files and directories for slurm services
+Group:          Productivity/Clustering/Computing
+
+%description config
+This package contains the slurm config files necessary direcories
+for the slurm daemons.
+
+
 %prep
 %setup -q -n %{name}-%{ver}
 %patch0 -p1
@@ -431,23 +450,11 @@
 
 %pre
 %if 0%{?with_systemd}
-%service_add_pre slurmd.service
 %service_add_pre slurmctld.service
 %endif
-%define slurmdir %{_sysconfdir}/slurm
-%define slurmdescr "SLURM workload manager"
-getent group %slurm_g >/dev/null || groupadd -r %slurm_g
-getent passwd %slurm_u >/dev/null || useradd -r -g %slurm_g -d %slurmdir -s 
/bin/false -c %{slurmdescr} %slurm_u
-exit 0
 
 %post
 %if 0%{?with_systemd}
-%if 0%{?sle_version} >= 120200
-  %tmpfiles_create slurm.conf
-%else
-  systemd-tmpfiles --create slurm.conf
-%endif
-%service_add_post slurmd.service
 %service_add_post slurmctld.service
 %else
 %fillup_and_insserv slurm
@@ -455,18 +462,13 @@
 
 %preun
 %if 0%{?with_systemd}
-%service_del_preun slurmd.service
 %service_del_preun slurmctld.service
-%else
-%stop_on_removal slurmd
 %endif
 
 %postun
 %if 0%{?with_systemd}
-%service_del_postun slurmd.service
 %service_del_postun slurmctld.service
 %else
-%restart_on_update slurmd
 %insserv_cleanup
 %endif
 
@@ -497,6 +499,47 @@
 %insserv_cleanup
 %endif
 
+%pre node
+%if 0%{?with_systemd}
+%service_add_pre slurmd.service
+%endif
+
+%post node
+%if 0%{?with_systemd}
+%service_add_post slurmd.service
+%endif
+
+%preun node
+%if 0%{?with_systemd}
+%service_del_preun slurmd.service
+%else
+%stop_on_removal slurmd
+%endif
+
+%postun node
+%if 0%{?with_systemd}
+%service_del_postun slurmd.service
+%else
+%restart_on_update slurmd
+%insserv_cleanup
+%endif 
+
+%pre config
+%define slurmdir %{_sysconfdir}/slurm
+%define slurmdescr "SLURM workload manager"
+getent group %slurm_g >/dev/null || groupadd -r %slurm_g
+getent passwd %slurm_u >/dev/null || useradd -r -g %slurm_g -d %slurmdir -s 
/bin/false -c %{slurmdescr} %slurm_u
+exit 0
+
+%post config
+%if 0%{?with_systemd}
+%if 0%{?sle_version} >= 120200
+  %tmpfiles_create slurm.conf
+%else
+  systemd-tmpfiles --create slurm.conf
+%endif
+%endif
+
 %post -n %{libslurm} -p /sbin/ldconfig
 %postun -n %{libslurm} -p /sbin/ldconfig
 
@@ -529,8 +572,6 @@
 %{_bindir}/strigger
 %{?have_netloc:%{_bindir}/netloc_to_topology}
 %{_sbindir}/slurmctld
-%{_sbindir}/slurmd
-%{_sbindir}/slurmstepd
 %{_mandir}/man1/sacct.1*
 %{_mandir}/man1/sacctmgr.1*
 %{_mandir}/man1/salloc.1*
@@ -564,32 +605,12 @@
 %{_mandir}/man5/topology.*
 %{_mandir}/man5/knl.conf.5.*
 %{_mandir}/man8/slurmctld.*
-%{_mandir}/man8/slurmd.*
-%{_mandir}/man8/slurmstepd*
 %{_mandir}/man8/spank*
 %dir %{_libdir}/slurm/src
-%dir %{_sysconfdir}/%{name}
-%dir %{_sysconfdir}/%{name}/layouts.d
-%config(noreplace) %{_sysconfdir}/%{name}/slurm.conf
-%{?OHPC_BUILD:%config %{_sysconfdir}/%{name}/slurm.conf.example}
-%config(noreplace) %{_sysconfdir}/%{name}/cgroup.conf
-%config(noreplace) %{_sysconfdir}/%{name}/cgroup_allowed_devices_file.conf
-%config(noreplace) %{_sysconfdir}/%{name}/slurm.epilog.clean
-%config(noreplace) %{_sysconfdir}/%{name}/layouts.d/power.conf.example
-%config(noreplace) %{_sysconfdir}/%{name}/layouts.d/power_cpufreq.conf.example
-%config(noreplace) %{_sysconfdir}/%{name}/layouts.d/unit.conf.example
 %if 0%{?with_systemd}
-%{_unitdir}/slurmd.service
 %{_unitdir}/slurmctld.service
-%{_sbindir}/rcslurmd
 %{_sbindir}/rcslurmctld
-%else
-%{_initrddir}/slurm
-%{_sbindir}/rcslurm
 %endif
-%{?OHPC_BUILD:%attr(0755, %slurm_u, %slurm_g) %_localstatedir/lib/slurm}
-%{?with_systemd:%{_tmpfilesdir}/%{name}.conf}
-%dir %{_var}/spool/slurm
 
 %files openlava
 %defattr(-,root,root)
@@ -800,4 +821,32 @@
 /%_lib/security/pam_slurm.so
 /%_lib/security/pam_slurm_adopt.so
 
+%files node
+%{_sbindir}/slurmd
+%{_sbindir}/slurmstepd
+%{_mandir}/man8/slurmd.*
+%{_mandir}/man8/slurmstepd*
+%if 0%{?with_systemd}
+%{_sbindir}/rcslurmd
+%{_unitdir}/slurmd.service
+%else
+%{_initrddir}/slurm
+%{_sbindir}/rcslurm
+%endif
+
+%files config
+%dir %{_sysconfdir}/%{name}
+%dir %{_sysconfdir}/%{name}/layouts.d
+%config(noreplace) %{_sysconfdir}/%{name}/slurm.conf
+%{?OHPC_BUILD:%config %{_sysconfdir}/%{name}/slurm.conf.example}
+%config(noreplace) %{_sysconfdir}/%{name}/cgroup.conf
+%config(noreplace) %{_sysconfdir}/%{name}/cgroup_allowed_devices_file.conf
+%config(noreplace) %{_sysconfdir}/%{name}/slurm.epilog.clean
+%config(noreplace) %{_sysconfdir}/%{name}/layouts.d/power.conf.example
+%config(noreplace) %{_sysconfdir}/%{name}/layouts.d/power_cpufreq.conf.example
+%config(noreplace) %{_sysconfdir}/%{name}/layouts.d/unit.conf.example
+%{?OHPC_BUILD:%attr(0755, %slurm_u, %slurm_g) %_localstatedir/lib/slurm}
+%{?with_systemd:%{_tmpfilesdir}/%{name}.conf}
+%dir %{_var}/spool/slurm
+
 %changelog


Reply via email to