summaryrefslogtreecommitdiff
path: root/gdal.spec
diff options
context:
space:
mode:
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