Hello community,

here is the log from the commit of package libpsm2 for openSUSE:Factory checked 
in at 2017-07-12 19:34:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libpsm2 (Old)
 and      /work/SRC/openSUSE:Factory/.libpsm2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libpsm2"

Wed Jul 12 19:34:26 2017 rev:4 rq:509159 version:10.2.103

Changes:
--------
--- /work/SRC/openSUSE:Factory/libpsm2/libpsm2.changes  2017-05-27 
13:09:50.667782835 +0200
+++ /work/SRC/openSUSE:Factory/.libpsm2.new/libpsm2.changes     2017-07-12 
19:34:27.525462310 +0200
@@ -1,0 +2,24 @@
+Mon Jul 10 09:54:50 UTC 2017 - [email protected]
+
+- Add libpsm2-compat-dependency-to-libpsm2.patch so libpsm_infinipath.so
+  provided by libpsm2-compat is linked to libpsm2 which provides
+  its missing symbols
+
+-------------------------------------------------------------------
+Mon Jul 10 09:15:38 UTC 2017 - [email protected]
+
+- Remove obsolete psm2 library directory
+
+-------------------------------------------------------------------
+Fri Jul  7 11:56:10 UTC 2017 - [email protected]
+
+- BuildRequire pkgconfig(udev) instead of udev: allow OBS to choose
+  udev-mini over udev, which in turn allows to break build cycles.
+
+-------------------------------------------------------------------
+Fri Jun 30 07:20:15 UTC 2017 - [email protected]
+
+- Install psm2-compat library in the standard path
+- Have libpsm2-compat conflict with libpsm_infinipath1
+
+-------------------------------------------------------------------

New:
----
  libpsm2-compat-dependency-to-libpsm2.patch
  libpsm2-rpmlintrc

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

Other differences:
------------------
++++++ libpsm2.spec ++++++
--- /var/tmp/diff_new_pack.9lmp4Z/_old  2017-07-12 19:34:28.165371915 +0200
+++ /var/tmp/diff_new_pack.9lmp4Z/_new  2017-07-12 19:34:28.169371350 +0200
@@ -26,13 +26,15 @@
 Url:            https://github.com/01org/opa-psm2/
 Source:         %{name}-%{version}.tar.bz2
 Source1:        libpsm2.changelog
+Source2:        libpsm2-rpmlintrc
 Patch2:         libpsm2-use_RPM_OPT_FLAGS.patch
 Patch3:         libpsm2-use-exported-variable-for-version-and-release.patch
 Patch4:         libpsm2-include-ioctl_h.patch
 Patch5:         libpsm2-gcc7.patch
+Patch6:         libpsm2-compat-dependency-to-libpsm2.patch
 BuildRequires:  libuuid-devel
 BuildRequires:  pkg-config
-BuildRequires:  udev
+BuildRequires:  pkgconfig(udev)
 Conflicts:      opa-libs
 Obsoletes:      hfi-psm
 Obsoletes:      hfi-psm-debuginfo
@@ -69,7 +71,7 @@
 Summary:        Compatibility library providing the old PSM API/ABI
 Group:          Development/Libraries/C and C++
 Requires:       %{name}-%{psm_so} = %{version}
-#Obsoletes:      hfi-psm-compat
+Conflicts:      libpsm_infinipath1
 
 %description    devel
 Development files for the libpsm2 library.
@@ -77,12 +79,14 @@
 %description    compat
 Support for MPIs linked with PSM versions < 2.
 
+
 %prep
 %setup -q -n %{name}-%{version}
 %patch2
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 
 
 cp %{S:1} ChangeLog
 
@@ -94,8 +98,7 @@
 %install
 export DESTDIR=%{buildroot}
 make %{?_smp_mflags} DESTDIR=%{buildroot} install
-mkdir -p -m 0755 -p %{buildroot}/%{_libdir}/psm2
-install -m0644 %{buildroot}/%{_libdir}/psm2-compat/libpsm_infinipath.so.1 
%{buildroot}/%{_libdir}/psm2/libpsm_infinipath.so.1
+install -m0644 %{buildroot}/%{_libdir}/psm2-compat/libpsm_infinipath.so.1 
%{buildroot}/%{_libdir}/libpsm_infinipath.so.1
 # removing file to get rid of rpm errors
 rm  %{buildroot}/%{_libdir}/psm2-compat/libpsm_infinipath.so.1
 rm  %{buildroot}/%{_libexecdir}/%name/libpsm2-compat.cmds
@@ -104,6 +107,8 @@
 %postun -n %{name}-%{psm_so} -p /sbin/ldconfig
 %post devel -p /sbin/ldconfig
 %postun devel -p /sbin/ldconfig
+%post compat -p /sbin/ldconfig
+%postun compat -p /sbin/ldconfig
 
 %files -n %{name}-%{psm_so}
 %defattr(-,root,root,-)
@@ -140,10 +145,9 @@
 
 %files compat
 %defattr(-,root,root,-)
-%dir %{_libdir}/psm2/
 %dir %{_sysconfdir}/modprobe.d
 
-%{_libdir}/psm2/libpsm_infinipath.so.*
+%{_libdir}/libpsm_infinipath.so.*
 %{_udevrulesdir}/40-psm-compat.rules
 %config %{_sysconfdir}/modprobe.d/libpsm2-compat.conf
 

++++++ libpsm2-compat-dependency-to-libpsm2.patch ++++++
diff --git compat/Makefile compat/Makefile
index e087be1..f52d255 100644
--- compat/Makefile
+++ compat/Makefile
@@ -80,7 +80,7 @@ $(OUTDIR)/%.o: $(compat_build_dir)/%.c
 
 $(OUTDIR)/${COMPATLIB}.so.${MAJOR}: ${${COMPATLIB}-objs}
        $(CC) $(BASECFLAGS) $(LINKER_SCRIPT) $(LDFLAGS) 
-Wl,-soname=${COMPATLIB}.so.${MAJOR} -shared \
-                -L$(OUTDIR)/.. -lpsm2 -o $@ ${${COMPATLIB}-objs}
+                -L$(OUTDIR)/.. -o $@ ${${COMPATLIB}-objs} -lpsm2
 
 clean:
        @if [ -d $(OUTDIR) ]; then \
++++++ libpsm2-rpmlintrc ++++++
# This line is mandatory to access the configuration functions
from Config import *

addFilter("libpsm2-compat.* shlib-policy-name-error")

Reply via email to