Hello community,

here is the log from the commit of package slurm for openSUSE:Factory checked 
in at 2020-01-25 13:23:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/slurm (Old)
 and      /work/SRC/openSUSE:Factory/.slurm.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "slurm"

Sat Jan 25 13:23:59 2020 rev:37 rq:767017 version:19.05.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/slurm/slurm.changes      2020-01-13 
22:22:54.854556909 +0100
+++ /work/SRC/openSUSE:Factory/.slurm.new.26092/slurm.changes   2020-01-25 
13:24:15.212039012 +0100
@@ -1,0 +2,23 @@
+Fri Jan 24 17:31:18 UTC 2020 - Egbert Eich <[email protected]>
+
+- Remove special OHPC compatibility macro: these settings should
+  be applied univerally.
+- Add a Recommends for mariadb to slurm-slurmdbd: it is recommened
+  to run the database on the same machine as the daemon.
+
+-------------------------------------------------------------------
+Fri Jan 24 11:47:58 UTC 2020 - Dominique Leuenberger <[email protected]>
+
+- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
+  shortcut through the -mini flavors.
+- Use systemd_ordering instead of systemd_requires: systemd is
+  never a strict requirement; but in case the system is scheduled
+  for installation together with systemd, we want systemd to be
+  installed prior to slurm.
+
+-------------------------------------------------------------------
+Thu Jan 23 17:44:29 UTC 2020 - Christian Goll <[email protected]>
+
+- start slurmdbd after mariadb (bsc#1161716)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ slurm.spec ++++++
--- /var/tmp/diff_new_pack.zpsc1s/_old  2020-01-25 13:24:16.488039571 +0100
+++ /var/tmp/diff_new_pack.zpsc1s/_new  2020-01-25 13:24:16.496039575 +0100
@@ -58,11 +58,6 @@
 %{bcond_with pmix}
 %endif
 
-# For anything newer than Leap 42.1 and SLE-12-SP1 build compatible to OpenHPC.
-%if 0%{suse_version} > 1320 || 0%{?sle_version} >= 120200
-%define OHPC_BUILD 1
-%endif
-
 %if 0%{?suse_version} >= 1220 || 0%{?sle_version} >= 120000
  %define with_systemd 1
 %endif
@@ -187,7 +182,7 @@
 BuildRequires:  rrdtool-devel
 %if 0%{?with_systemd}
 %{?systemd_requires}
-BuildRequires:  systemd
+BuildRequires:  pkgconfig(systemd)
 %else
 Requires(post):         %insserv_prereq %fillup_prereq
 %endif
@@ -324,13 +319,16 @@
 Requires:       %{name}-config = %{version}
 Requires:       %{name}-plugins = %{version}
 Requires:       %{name}-sql = %{version}
+%if 0%{?suse_version} > 1310
+Recommends:     mariadb
+%endif
 %if 0%{?have_boolean_deps}
 Recommends:     (%{name}-munge = %version if munge)
 %else
 Recommends:     %{name}-munge = %version
 %endif
 %if 0%{?with_systemd}
-%{?systemd_requires}
+%{?systemd_ordering}
 %else
 Requires(post):         %insserv_prereq %fillup_prereq
 %endif
@@ -449,7 +447,7 @@
 Recommends:     %{name}-munge = %version
 %endif
 %if 0%{?with_systemd}
-%{?systemd_requires}
+%{?systemd_ordering}
 %else
 Requires(post):         %insserv_prereq %fillup_prereq
 %endif
@@ -469,7 +467,7 @@
 Requires(pre):  shadow
 %endif
 %if 0%{?with_systemd}
-%{?systemd_requires}
+%{?systemd_ordering}
 %endif
 %{?upgrade:Provides: %{pname}-config = %{version}}
 %{?upgrade:Conflicts: %{pname}-config}
@@ -569,7 +567,7 @@
 install -D -m644 etc/layouts.d.power.conf.example 
%{buildroot}/%{_sysconfdir}/%{pname}/layouts.d/power.conf.example
 install -D -m644 etc/layouts.d.power_cpufreq.conf.example 
%{buildroot}/%{_sysconfdir}/%{pname}/layouts.d/power_cpufreq.conf.example
 install -D -m644 etc/layouts.d.unit.conf.example 
%{buildroot}/%{_sysconfdir}/%{pname}/layouts.d/unit.conf.example
-install -D -m644 etc/slurm.conf.example 
%{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf%{?OHPC_BUILD:.example}
+install -D -m644 etc/slurm.conf.example 
%{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf.example
 install -D -m600 etc/slurmdbd.conf.example 
%{buildroot}/%{_sysconfdir}/%{pname}/slurmdbd.conf
 install -D -m600 etc/slurmdbd.conf.example 
%{buildroot}%{_sysconfdir}/%{pname}/slurmdbd.conf.example
 install -D -m755 contribs/sjstat %{buildroot}%{_bindir}/sjstat
@@ -577,7 +575,6 @@
 
 cp contribs/pam_slurm_adopt/README ../README.pam_slurm_adopt
 cp  contribs/pam/README ../README.pam_slurm
-%if 0%{?OHPC_BUILD}
 # change slurm.conf for our needs
 head -n -2 %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf.example | grep -v 
ReturnToService > %{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf
 sed -i 's#\(StateSaveLocation=\).*#\1%_localstatedir/lib/slurm#'  
%{buildroot}/%{_sysconfdir}/%{pname}/slurm.conf
@@ -604,12 +601,14 @@
  %{buildroot}/%{_sysconfdir}/%{pname}/slurmdbd.conf
 # manage local state dir and a remote states save location
 mkdir -p %{buildroot}/%_localstatedir/lib/slurm
+%if 0%{?with_systemd}
 sed -i -e "s@PIDFile=.*@PIDFile=%{_localstatedir}/run/slurm/slurmctld.pid@" \
  -e "s@After=.*@After=network.target munge.service remote-fs.target@" \
  %{buildroot}/%{_unitdir}/slurmctld.service
 sed -i -e "s@PIDFile=.*@PIDFile=%{_localstatedir}/run/slurm/slurmd.pid@" \
  %{buildroot}/%{_unitdir}/slurmd.service
 sed -i -e "s@PIDFile=.*@PIDFile=%{_localstatedir}/run/slurm/slurmdbd.pid@" \
+       -e 's@After=\(.*\)@After=\1 mariadb.service@' \
  %{buildroot}/%{_unitdir}/slurmdbd.service
 %endif
 
@@ -1181,12 +1180,12 @@
 %dir %{_sysconfdir}/%{pname}
 %dir %{_sysconfdir}/%{pname}/layouts.d
 %config(noreplace) %{_sysconfdir}/%{pname}/slurm.conf
-%{?OHPC_BUILD:%config %{_sysconfdir}/%{pname}/slurm.conf.example}
+%config %{_sysconfdir}/%{pname}/slurm.conf.example
 %config(noreplace) %{_sysconfdir}/%{pname}/cgroup.conf
 %config(noreplace) %{_sysconfdir}/%{pname}/layouts.d/power.conf.example
 %config(noreplace) %{_sysconfdir}/%{pname}/layouts.d/power_cpufreq.conf.example
 %config(noreplace) %{_sysconfdir}/%{pname}/layouts.d/unit.conf.example
-%{?OHPC_BUILD:%attr(0755, %slurm_u, %slurm_g) %_localstatedir/lib/slurm}
+%attr(0755, %slurm_u, %slurm_g) %_localstatedir/lib/slurm
 %{?with_systemd:%{_tmpfilesdir}/%{pname}.conf}
 %dir %attr(0755, %slurm_u, %slurm_g)%{_localstatedir}/spool/slurm
 %config(noreplace) %{_sysconfdir}/logrotate.d/slurm*


Reply via email to