Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package levmar for openSUSE:Factory checked 
in at 2022-09-18 17:32:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/levmar (Old)
 and      /work/SRC/openSUSE:Factory/.levmar.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "levmar"

Sun Sep 18 17:32:30 2022 rev:2 rq:1004447 version:2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/levmar/levmar.changes    2020-11-09 
15:43:22.808942132 +0100
+++ /work/SRC/openSUSE:Factory/.levmar.new.2083/levmar.changes  2022-09-18 
17:32:30.649821372 +0200
@@ -1,0 +2,14 @@
+Fri Sep 16 22:49:56 UTC 2022 - Stefan Br??ns <[email protected]>
+
+- Remove RPATH from library, only uses libs from standard libdir.
+
+-------------------------------------------------------------------
+Tue Nov  3 16:54:40 UTC 2020 - Stefan Br??ns <[email protected]>
+
+- Remove library symlink with minor version, only use a major
+  version. The (arbitrary) major version is kept, the ABI has not
+  changed for the last 9 years.
+- Fix URL and Source, wrong subdomain (should be users, not www)
+- Spec file cleanup
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ levmar.spec ++++++
--- /var/tmp/diff_new_pack.95dwpx/_old  2022-09-18 17:32:31.069822597 +0200
+++ /var/tmp/diff_new_pack.95dwpx/_new  2022-09-18 17:32:31.073822608 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package levmar
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,17 +16,18 @@
 #
 
 
-%define major 2
-%define minor 6
-%define libname liblevmar%{major}
+# Somewhat arbitrary SOVERSION. Bump whenever ABI changes, which has
+# not happed for several years (since 2.6 release in 2011).
+%define sover 2
+%define libname liblevmar%{sover}
 Name:           levmar
-Version:        %{major}.%{minor}
+Version:        2.6
 Release:        0
 Summary:        Levenberg-Marquardt nonlinear least squares algorithm
 License:        GPL-2.0-or-later
 Group:          Development/Libraries/C and C++
-URL:            http://www.ics.forth.gr/~lourakis/levmar/
-Source:         http://www.ics.forth.gr/~lourakis/levmar/levmar-%{version}.tgz
+URL:            http://users.ics.forth.gr/~lourakis/levmar/
+Source:         
http://users.ics.forth.gr/~lourakis/levmar/levmar-%{version}.tgz
 BuildRequires:  cmake
 BuildRequires:  dos2unix
 BuildRequires:  gcc-c++
@@ -79,24 +80,23 @@
     -e 's:ADD_LIBRARY(levmar STATIC:ADD_LIBRARY(levmar SHARED:' \
     CMakeLists.txt
 
-# Add missing math link
-sed -i \
-    -e 's:SET(LIBS levmar):SET(LIBS levmar -lm):' \
-    CMakeLists.txt
-
-echo "set_target_properties(levmar PROPERTIES SOVERSION %{major})" >> 
CMakeLists.txt
+echo "set_target_properties(levmar PROPERTIES SOVERSION %{sover})" >> 
CMakeLists.txt
 echo "target_link_libraries(levmar m blas lapack)" >> CMakeLists.txt
 
 %build
-%cmake -DNEED_F2C:BOOL=false
+# no install target/command, so CMake won't remove the RPATH on install
+# instead, do not add it at all (i.e. during build)
+%cmake \
+  -DNEED_F2C:BOOL=false \
+  -DCMAKE_SKIP_RPATH:bool=true \
+  %{nil}
 %cmake_build
 
 %install
-install -D -p -m 755 build/liblevmar.so 
%{buildroot}%{_libdir}/liblevmar.so.%{major}.%{minor}
+install -D -p -m 755 build/liblevmar.so 
%{buildroot}%{_libdir}/liblevmar.so.%{sover}
 install -D -p -m 644 levmar.h %{buildroot}%{_includedir}/levmar.h
 install -D -p -m 755 build/lmdemo %{buildroot}%{_bindir}/lmdemo
-ln -s liblevmar.so.%{major}.%{minor} 
%{buildroot}%{_libdir}/liblevmar.so.%{major}
-ln -s liblevmar.so.%{major}.%{minor} %{buildroot}%{_libdir}/liblevmar.so
+ln -s liblevmar.so.%{sover} %{buildroot}%{_libdir}/liblevmar.so
 
 %post -n %{libname} -p /sbin/ldconfig
 %postun -n %{libname} -p /sbin/ldconfig
@@ -104,8 +104,7 @@
 %files -n %{libname}
 %license LICENSE
 %doc README.txt
-%{_libdir}/liblevmar.so.%{major}.%{minor}
-%{_libdir}/liblevmar.so.%{major}
+%{_libdir}/liblevmar.so.%{sover}
 
 %files devel
 %{_includedir}/levmar.h

Reply via email to