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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user