Hello community,

here is the log from the commit of package laszip for openSUSE:Factory checked 
in at 2020-03-24 22:35:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/laszip (Old)
 and      /work/SRC/openSUSE:Factory/.laszip.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "laszip"

Tue Mar 24 22:35:28 2020 rev:6 rq:787694 version:3.4.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/laszip/laszip.changes    2019-07-15 
22:43:57.423903127 +0200
+++ /work/SRC/openSUSE:Factory/.laszip.new.3160/laszip.changes  2020-03-24 
22:37:05.037227673 +0100
@@ -1,0 +2,5 @@
+Tue Mar 24 07:01:31 UTC 2020 - Max Lin <[email protected]>
+
+- Disable RPATH for building
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ laszip.spec ++++++
--- /var/tmp/diff_new_pack.gGFvxG/_old  2020-03-24 22:37:06.573228419 +0100
+++ /var/tmp/diff_new_pack.gGFvxG/_new  2020-03-24 22:37:06.589228427 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package laszip
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 # Copyright (c) 2019 Bruno Friedmann, Ioda-Net Sàrl, Charmoille, Switzerland.
 #
 # All modifications and additions to the file contributed by third parties
@@ -26,7 +26,7 @@
 Summary:        Compression library supporting ASPRS LAS format data
 License:        LGPL-2.1-or-later
 Group:          Development/Libraries/C and C++
-Url:            https://laszip.org/
+URL:            https://laszip.org/
 Source0:        
https://github.com/LASzip/LASzip/releases/download/%{version}/laszip-src-%{version}.tar.gz
 Source1:        
https://github.com/LASzip/LASzip/releases/download/%{version}/laszip-src-%{version}.tar.gz.sha256sum
 BuildRequires:  cmake
@@ -84,13 +84,14 @@
 %build
 # laszip need dlopen,dlsym,dlclose
 %cmake \
+    -DCMAKE_SKIP_RPATH:BOOL=ON \
     -DCMAKE_C_FLAGS="%{optflags} -fno-strict-aliasing -fPIC" \
     -DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -fno-strict-aliasing -fPIC" \
     -DCMAKE_CXX_FLAGS="%{optflags} -fno-strict-aliasing -fPIC" \
     -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -fno-strict-aliasing -fPIC" \
     -DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,--no-undefined -Wl,-z,now 
-Wl,--no-as-needed -ldl"
 
-make V=1 %{?_smp_mflags}
+%cmake_build
 
 %install
 %cmake_install
@@ -110,7 +111,8 @@
 
 %files devel
 %defattr(-,root,root)
-%doc ChangeLog AUTHORS COPYING
+%license COPYING
+%doc ChangeLog AUTHORS
 %dir %{_includedir}/%{name}
 %{_includedir}/%{name}/%{name}_api_version.h
 %{_includedir}/%{name}/%{name}_api.h


Reply via email to