Hello community,

here is the log from the commit of package qhull for openSUSE:Factory checked 
in at 2020-02-20 14:53:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qhull (Old)
 and      /work/SRC/openSUSE:Factory/.qhull.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qhull"

Thu Feb 20 14:53:22 2020 rev:18 rq:774718 version:2019.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/qhull/qhull.changes      2020-02-03 
11:10:57.533773380 +0100
+++ /work/SRC/openSUSE:Factory/.qhull.new.26092/qhull.changes   2020-02-20 
14:53:22.842051160 +0100
@@ -1,0 +2,7 @@
+Sun Feb 16 15:30:55 UTC 2020 - Stefan BrĂ¼ns <[email protected]>
+
+- Add missing dependency from devel package to shared library.
+- Use shared linking for qhull tools.
+  0001-Link-tools-to-shared-library.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Link-tools-to-shared-library.patch

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

Other differences:
------------------
++++++ qhull.spec ++++++
--- /var/tmp/diff_new_pack.J2Nhuc/_old  2020-02-20 14:53:23.430052344 +0100
+++ /var/tmp/diff_new_pack.J2Nhuc/_new  2020-02-20 14:53:23.434052351 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package qhull
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,6 +27,8 @@
 Group:          Development/Libraries/C and C++
 URL:            http://www.qhull.org
 Source0:        
http://www.qhull.org/download/qhull-%{srcyear}-src-%{srcver}.tgz
+# PATCH-FIX-OPENUSE -- https://github.com/qhull/qhull/issues/57
+Patch0:         0001-Link-tools-to-shared-library.patch
 BuildRequires:  cmake
 BuildRequires:  gcc-c++
 
@@ -44,8 +46,8 @@
 
 %package -n libqhull%{sonum}
 Summary:        Computing convex hulls, Delaunay triangulations and Voronoi 
diagrams
-Group:          System/Libraries
 # Bad naming of old packages, conflicts on the file level (libqhull.so.7)
+Group:          System/Libraries
 Obsoletes: libqhull%{sonum}-7_3_2 < %{version}-%{release}
 Provides:  libqhull%{sonum}-7_3_2 = %{version}-%{release}
 Obsoletes: libqhull%{sonum}-7_2_0 < %{version}
@@ -65,7 +67,7 @@
 %package devel
 Summary:        Development and documentation files for qhull
 Group:          Development/Libraries/C and C++
-Requires:       qhull = %{version}
+Requires:       libqhull%{sonum} = %{version}
 
 %description devel
 Qhull computes the convex hull, Delaunay triangulation, Voronoi diagram,
@@ -76,6 +78,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %cmake \

++++++ 0001-Link-tools-to-shared-library.patch ++++++
>From 8a287e822f402d49997a740f5cad0f8d505bf5c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Br=C3=BCns?= <[email protected]>
Date: Sun, 16 Feb 2020 16:30:36 +0100
Subject: [PATCH] Link tools to shared library

The default is static linking, change to shared linking.

See https://github.com/qhull/qhull/issues/57
---
 CMakeLists.txt | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9d44056..d3c3891 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -484,22 +484,22 @@ set(qvoronoi_SOURCES    src/qvoronoi/qvoronoi.c)
 set(qhalf_SOURCES       src/qhalf/qhalf.c)
 
 add_executable(qhull ${qhull_SOURCES})
-target_link_libraries(qhull ${qhull_STATICR})
+target_link_libraries(qhull ${qhull_SHAREDR})
 
 add_executable(rbox ${rbox_SOURCES})
-target_link_libraries(rbox ${qhull_STATIC})
+target_link_libraries(rbox ${qhull_SHARED})
 
 add_executable(qconvex ${qconvex_SOURCES})
-target_link_libraries(qconvex ${qhull_STATIC})
+target_link_libraries(qconvex ${qhull_SHARED})
 
 add_executable(qdelaunay ${qdelaunay_SOURCES})
-target_link_libraries(qdelaunay ${qhull_STATIC})
+target_link_libraries(qdelaunay ${qhull_SHARED})
 
 add_executable(qvoronoi ${qvoronoi_SOURCES})
-target_link_libraries(qvoronoi ${qhull_STATIC})
+target_link_libraries(qvoronoi ${qhull_SHARED})
 
 add_executable(qhalf ${qhalf_SOURCES})
-target_link_libraries(qhalf ${qhull_STATIC})
+target_link_libraries(qhalf ${qhull_SHARED})
 
 # ---------------------------------------
 # Define options for linking to qhull_SHAREDR or qhull_SHARED
-- 
2.25.0


Reply via email to