Accepting request 895137 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/895137 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdal?expand=0&rev=61
This commit is contained in:
commit
f5c5144f81
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 17 10:55:47 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- remove bundled libraries, use system provided ones
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 4 14:17:10 UTC 2021 - Bruno Friedmann <bruno@ioda-net.ch>
|
||||
|
||||
|
@ -160,6 +160,15 @@ The GDAL python modules provide support to handle multiple GIS file formats.
|
||||
%setup -q -n %{sourcename}-%{version}
|
||||
%autopatch -p1
|
||||
|
||||
# Delete bundled libraries
|
||||
rm -rv frmts/zlib
|
||||
rm -rv frmts/png/libpng
|
||||
rm -rv frmts/gif/giflib
|
||||
rm -rv frmts/jpeg/libjpeg
|
||||
rm -rv frmts/jpeg/libjpeg12
|
||||
rm -rv frmts/gtiff/libgeotiff
|
||||
rm -rv frmts/gtiff/libtiff
|
||||
|
||||
# Set the right (build) libproj.so version, use the upper found version.
|
||||
PROJSOVER=$(ls -1 %{_libdir}/libproj.so.?? | tail -n1 | awk -F '.' '{print $3}')
|
||||
sed -i "s,# define LIBNAME \"libproj.so\",# define LIBNAME \"libproj.so.${PROJSOVER}\",g" ogr/ogrct.cpp
|
||||
|
Loading…
x
Reference in New Issue
Block a user