diff --git a/python-Rtree.changes b/python-Rtree.changes index 7a8e91b..8ae06cc 100644 --- a/python-Rtree.changes +++ b/python-Rtree.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed May 19 10:29:54 UTC 2021 - Ben Greiner + +- Use a more sophisticated approach in order to find the correct + runtime dependency for libspatialindex + ------------------------------------------------------------------- Mon May 17 22:22:43 UTC 2021 - Ben Greiner diff --git a/python-Rtree.spec b/python-Rtree.spec index edebe34..b52021e 100644 --- a/python-Rtree.spec +++ b/python-Rtree.spec @@ -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