SHA256
1
0
forked from pool/gdal

Accepting request 794864 from Application:Geo

OBS-URL: https://build.opensuse.org/request/show/794864
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gdal?expand=0&rev=49
This commit is contained in:
Dominique Leuenberger 2020-04-17 22:32:09 +00:00 committed by Git OBS Bridge
commit eed992333c
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Apr 17 09:58:35 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Fixes for previous commit "Rework ECW5 SDK handling"
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Apr 9 10:22:54 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org> Thu Apr 9 10:22:54 UTC 2020 - Guillaume GARDET <guillaume.gardet@opensuse.org>

View File

@ -184,9 +184,12 @@ find . -type f -name "style_ogr_sym.png" -exec chmod 0644 {} \;
find . -iname "*.py" -exec sed -i 's,^#!%{_bindir}/env python$,#!%{_bindir}/python3,' {} \; find . -iname "*.py" -exec sed -i 's,^#!%{_bindir}/env python$,#!%{_bindir}/python3,' {} \;
%if %{with ecw5_support} %if %{with ecw5_support}
# gdal configure script looks for a given layout, so reproduce what is expected. # gdal configure script looks for a given layout, so reproduce what is expected.
mkdir -p ../ECW/Desktop_Read-Only/lib/x64/ export ECW_PATH="../ECW/Desktop_Read-Only"
ln -s %{_libdir} ../ECW/Desktop_Read-Only/lib/x64/release export ECW_LIB_PATH="$ECW_PATH/lib/cpp11abi/x64/release"
ln -s %{_includedir} ../ECW/Desktop_Read-Only/include export ECW_INC_PATH="$ECW_PATH/include"
mkdir -p $ECW_PATH/lib/cpp11abi/x64/
ln -s %{_libdir} $ECW_LIB_PATH
ln -s %{_includedir} $ECW_INC_PATH
%endif %endif
%build %build