15
0
forked from pool/python-Rtree

Accepting request 894295 from home:bnavigator:branches:devel:languages:python

- Use a more sophisticated approach in order to find the correct
  runtime dependency for libspatialindex

OBS-URL: https://build.opensuse.org/request/show/894295
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Rtree?expand=0&rev=2
This commit is contained in:
2021-05-19 11:53:51 +00:00
committed by Git OBS Bridge
parent bdf060e93b
commit 557e3ebe05
2 changed files with 9 additions and 2 deletions

View File

@@ -32,9 +32,10 @@ BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: libspatialindex4
# only for the shlib requirement, no headers needed
BuildRequires: spatialindex-devel
BuildRequires: python-rpm-macros
Requires: libspatialindex4
Requires: %(rpm -q --queryformat "%%{NAME}" -f $(readlink -f %{_libdir}/libspatialindex.so))
Provides: python-rtree = %{version}-%{release}
BuildArch: noarch
%python_subpackages