summaryrefslogtreecommitdiff
path: root/gdal.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-06-20 13:32:13 +0000
committerCoprDistGit <infra@openeuler.org>2023-06-20 13:32:13 +0000
commit807e13a811041c61a62ea3c0fdf48b688e74106e (patch)
tree44ec3293b9857f853071f86e8de86364e53ffe9f /gdal.spec
parent30960414e808f033a4625eaae44d44e0f5b11f4b (diff)
automatic import of gdal
Diffstat (limited to 'gdal.spec')
-rw-r--r--gdal.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/gdal.spec b/gdal.spec
index a6f3594..70e4c57 100644
--- a/gdal.spec
+++ b/gdal.spec
@@ -384,7 +384,9 @@ mkdir build
-DGDAL_JAVA_INSTALL_DIR=%{_jnidir}/%{name} \
-DGDAL_USE_JPEG12_INTERNAL=OFF \
-DENABLE_DEFLATE64=OFF
-%cmake_build
+#%cmake_build
+#make %{?_smp_mflags}
+%__cmake --build build %{?_smp_mflags} --verbose
%if %{with mingw}
%mingw_cmake \
@@ -397,7 +399,9 @@ mkdir build
%install
-%cmake_install
+#%cmake_install
+#make install
+DESTDIR="%{buildroot}" %__cmake --install build
%if %{with mingw}
%mingw_make_install