Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package spatialindex for openSUSE:Factory 
checked in at 2021-03-02 12:34:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/spatialindex (Old)
 and      /work/SRC/openSUSE:Factory/.spatialindex.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "spatialindex"

Tue Mar  2 12:34:15 2021 rev:2 rq:875898 version:1.9.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/spatialindex/spatialindex.changes        
2016-01-01 19:50:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.spatialindex.new.2378/spatialindex.changes      
2021-03-02 12:45:46.204371772 +0100
@@ -1,0 +2,23 @@
+Sun Feb 28 15:07:42 UTC 2021 - Maximilian Trummer <[email protected]>
+
+- added patch to restore functionality (via CMake), change Cflags
+  (restore-pkg-config-functionality.patch)
+- Update to version 1.9.3
+  * 1.9.3 fixes a critical ordering issue
+    in RTreenearestNeighbor sorting
+- Update to version 1.9.2
+  * 1.9.2 is a quick release of 1.9.1 to fix some
+    override declarations that were too aggressive and caused
+    the wrong methods to be called.
+- Update to version 1.9.1
+  * Expose Index_Contains_id and Index_Contains_obj in C API
+- Update to version 1.9.0
+  * Add flush function to each index type
+  * Expose internal Nodes of query for RTree types
+  * Fix unnecessary locking calls in pthread on Linux
+  * Fix Node::reinsertData selection criteria
+  * Correct findLeastEnlargement to always return a correct value
+  * Update the root MBR during condenseTree
+  * Fix adjustTree during R*-tree reinserts
+
+-------------------------------------------------------------------

Old:
----
  spatialindex-src-1.8.5.tar.bz2
  spatialindex-src-1.8.5.tar.bz2.md5

New:
----
  restore-pkg-config-functionality.patch
  spatialindex-src-1.9.3.tar.bz2
  spatialindex-src-1.9.3.tar.bz2.sha512sum

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

Other differences:
------------------
++++++ spatialindex.spec ++++++
--- /var/tmp/diff_new_pack.3WbOTl/_old  2021-03-02 12:45:46.700372200 +0100
+++ /var/tmp/diff_new_pack.3WbOTl/_new  2021-03-02 12:45:46.704372204 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package libspatialindex
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,17 @@
 # See also http://en.opensuse.org/openSUSE:Shared_library_packaging_policy
 
 Name:           spatialindex
-Version:        1.8.5
+Version:        1.9.3
 Release:        0
 Summary:        A library for spatial indexing
 License:        MIT
 Group:          Productivity/Graphics/Other
-Url:            https://libspatialindex.github.io
-Source0:        
http://download.osgeo.org/libspatialindex/spatialindex-src-%{version}.tar.bz2
-Source1:        
http://download.osgeo.org/libspatialindex/spatialindex-src-%{version}.tar.bz2.md5
+Url:            https://libspatialindex.org/
+Source0:        
https://github.com/libspatialindex/libspatialindex/releases/download/%{version}/spatialindex-src-%{version}.tar.bz2
+Source1:        
https://github.com/libspatialindex/libspatialindex/releases/download/%{version}/spatialindex-src-%{version}.tar.bz2.sha512sum
+# PATCH-FIX-OPENSUSE restore-pkg-config-functionality.patch -- pkg-config: 
restore functionality (via CMake), change Cflags
+Patch0:         restore-pkg-config-functionality.patch
+BuildRequires:  cmake
 BuildRequires:  make
 BuildRequires:  gcc
 BuildRequires:  gcc-c++
@@ -69,14 +72,14 @@
 
 %prep
 %setup -q -n %{name}-src-%{version}
+%patch0 -p1
 
 %build
-%configure --disable-static
-make %{?_smp_mflags}
+%cmake
+%cmake_build
 
 %install
-make install DESTDIR=%{buildroot}
-find %{buildroot} -name '*.la' -exec rm -f {} ';'
+%cmake_install
 
 %post -n lib%{name}4 -p /sbin/ldconfig
 

++++++ restore-pkg-config-functionality.patch ++++++
>From ca715a3a68478208a06cf219ea43b1f1ea15080b Mon Sep 17 00:00:00 2001
From: Mike Taves <[email protected]>
Date: Tue, 16 Jun 2020 01:04:40 +1200
Subject: [PATCH] pkg-config: restore functionality (via CMake), change Cflags
 (#201)

 (adapted for the 1.9.3 release)
---
 CMakeLists.txt            | 14 ++++++++++++++
 src/libspatialindex.pc.in | 14 +++++++-------
 2 files changed, 21 insertions(+), 7 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c34ee8d..067543c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -188,6 +188,20 @@ if(SIDX_BUILD_TESTS)
   add_subdirectory(test)
 endif()
 
+#------------------------------------------------------------------------------
+# pkg-config support
+#------------------------------------------------------------------------------
+if(NOT WIN32)
+  configure_file(
+    ${CMAKE_CURRENT_SOURCE_DIR}/src/libspatialindex.pc.in
+    ${CMAKE_CURRENT_BINARY_DIR}/libspatialindex.pc
+    @ONLY)
+
+  install(FILES
+    ${CMAKE_CURRENT_BINARY_DIR}/libspatialindex.pc
+    DESTINATION ${SIDX_LIB_DIR}/pkgconfig)
+endif()
+
 #------------------------------------------------------------------------------
 # CPACK controls
 #------------------------------------------------------------------------------
diff --git a/src/libspatialindex.pc.in b/src/libspatialindex.pc.in
index c205248..90b1805 100644
--- a/src/libspatialindex.pc.in
+++ b/src/libspatialindex.pc.in
@@ -1,12 +1,12 @@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=${prefix}
+libdir=${prefix}/@SIDX_LIB_DIR@
+includedir=${prefix}/@SIDX_INCLUDE_DIR@
 
 Name: libspatialindex 
 Description: Generic C/C++ library for spatial indexing
 Requires: 
-Version: @PACKAGE_VERSION@
-Libs: -L@libdir@ -lspatialindex
-Cflags: -I${includedir}/spatialindex
+Version: @SIDX_VERSION_STRING@
+Libs: -L${libdir} -lspatialindex
+Cflags: -I${includedir}
 
-- 
2.30.1

++++++ spatialindex-src-1.8.5.tar.bz2 -> spatialindex-src-1.9.3.tar.bz2 ++++++
++++ 134148 lines of diff (skipped)

++++++ spatialindex-src-1.9.3.tar.bz2.sha512sum ++++++
7922807a2f7026542a014d3d7943da5410429b291cf469267ffea5b8075eab2a94e68b6c013425615d221b930fd319c403f3bf43404c9b1d2c92d0e2baae3066
  spatialindex-src-1.9.3.tar.bz2

Reply via email to