forked from pool/python-Shapely
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 4e840602a1 | |||
| 28c30ef89e |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 21 09:13:30 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- avoid stale "requires:" requirement on shapely packages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 31 11:24:25 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
||||
@@ -45,8 +45,7 @@ BuildRequires: geos-devel >= 3.5
|
||||
BuildRequires: python-rpm-macros
|
||||
# Shapely calls the GEOS libs libgeos and libgeos_c via ctypes in python scripts, undetected by rpm ld analyzer.
|
||||
# (libgeos_c1 is detected due to some Cython optimized lib, but libgeos3 is not)
|
||||
# use requires_eq in order to be detectable by the python_subpackages rewriter
|
||||
%requires_eq %(rpm -q --requires geos-devel | grep libgeos)
|
||||
Requires: %(rpm -q --requires geos-devel | sed -rne 's/^(libgeos3.* = .*)-.*/\1/p')
|
||||
Requires: (python-numpy >= 1.14 with python-numpy < 3)
|
||||
Provides: python-shapely = %{version}-%{release}
|
||||
Obsoletes: python-shapely < %{version}-%{release}
|
||||
|
||||
Reference in New Issue
Block a user