Hello community,

here is the log from the commit of package slurm for openSUSE:Factory checked 
in at 2017-11-15 17:04:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/slurm (Old)
 and      /work/SRC/openSUSE:Factory/.slurm.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "slurm"

Wed Nov 15 17:04:41 2017 rev:6 rq:542025 version:17.02.9

Changes:
--------
--- /work/SRC/openSUSE:Factory/slurm/slurm.changes      2017-11-03 
16:26:37.408338271 +0100
+++ /work/SRC/openSUSE:Factory/.slurm.new/slurm.changes 2017-11-15 
17:04:42.380860024 +0100
@@ -1,0 +2,7 @@
+Fri Nov 10 13:52:30 UTC 2017 - [email protected]
+
+- Package so-versioned libs separately. sibslurm is expected
+  to change more frequently and thus is packaged separately
+  from libpmi.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ slurm.spec ++++++
--- /var/tmp/diff_new_pack.lhmrrH/_old  2017-11-15 17:04:43.728810669 +0100
+++ /var/tmp/diff_new_pack.lhmrrH/_new  2017-11-15 17:04:43.732810522 +0100
@@ -16,9 +16,11 @@
 #
 
 
-# Check file META in sources: update libslurm version to (API_CURRENT - 
API_AGE)
-%define libslurm libslurm31
+# Check file META in sources: update so_version to (API_CURRENT - API_AGE)
+%define so_version 31
 %define ver 17.02.9
+# so-version is 0 and seems to be stable
+%define pmi_so 0
 
 # For anything newer than Leap 42.1 and SLE-12-SP1 build compatible to OpenHPC.
 %if 0%{suse_version} > 1320 || 0%{?sle_version} >= 120200
@@ -51,6 +53,8 @@
  %define slurm_g root
 %endif
 
+%define libslurm libslurm%{so_version}
+
 Name:           slurm
 Version:        %{ver}
 Release:        0
@@ -143,10 +147,21 @@
 with SLURM.
 
 
+%package -n libpmi-%{name}%{pmi_so}
+Summary:        Libraries for SLURM
+Group:          System/Libraries
+Requires:       %{libslurm} = %version
+
+%description -n libpmi-%{name}%{pmi_so}
+This package contains the library needed to run programs dynamically linked
+with SLURM.
+
+
 %package devel
 Summary:        Development package for SLURM
 Group:          Development/Libraries/C and C++ 
 Requires:       %{libslurm} = %{version}
+Requires:       libpmi-%{name}%{pmi_so} = %{version}
 Requires:       slurm = %{version}
 
 %description devel
@@ -483,9 +498,11 @@
 %endif
 
 %post -n %{libslurm} -p /sbin/ldconfig
-
 %postun -n %{libslurm} -p /sbin/ldconfig
 
+%post -n  libpmi-%{name}%{pmi_so} -p /sbin/ldconfig
+%postun -n  libpmi-%{name}%{pmi_so} -p /sbin/ldconfig
+
 %files
 %defattr(-,root,root)
 %doc AUTHORS NEWS RELEASE_NOTES DISCLAIMER COPYING
@@ -592,7 +609,11 @@
 
 %files -n %{libslurm}
 %defattr(-,root,root)
-%{_libdir}/*.so.*
+%{_libdir}/*.so.%{so_version}*
+
+%files -n libpmi-%{name}%{pmi_so}
+%defattr(-,root,root)
+%{_libdir}/*.so.0*
 
 %files devel
 %defattr(-,root,root)


Reply via email to