Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gdal for openSUSE:Factory checked in at 2026-07-01 16:39:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gdal (Old) and /work/SRC/openSUSE:Factory/.gdal.new.11887 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gdal" Wed Jul 1 16:39:30 2026 rev:111 rq:1362767 version:3.13.1 Changes: -------- --- /work/SRC/openSUSE:Factory/gdal/gdal.changes 2026-06-23 17:43:51.492557887 +0200 +++ /work/SRC/openSUSE:Factory/.gdal.new.11887/gdal.changes 2026-07-01 16:39:46.291605095 +0200 @@ -1,0 +2,16 @@ +Mon Jun 29 08:44:36 UTC 2026 - Martin Pluskal <[email protected]> + +- Drop the redundant %add_python python311 (it is already in the + default flavour set); build the default python interpreters +- Enable SFCGAL support for 3D geometry operations + (-DGDAL_USE_SFCGAL=ON) +- Split heavy-dependency GDAL drivers into standalone loadable + plugin subpackages (gdal-hdf5, gdal-kea, gdal-pdf, + gdal-postgresql, gdal-mysql, gdal-fits, gdal-netcdf), to slim the + core libgdal dependency footprint; each plugin is independently + toggleable via its own bcond (default on) and no longer pulled in + through a meta-package. This aligns the packaging with other + distributions (Fedora, Debian), which ship these heavy-dependency + drivers as separate plugin packages + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gdal.spec ++++++ --- /var/tmp/diff_new_pack.fnuH83/_old 2026-07-01 16:39:47.531648256 +0200 +++ /var/tmp/diff_new_pack.fnuH83/_new 2026-07-01 16:39:47.535648395 +0200 @@ -26,15 +26,11 @@ %else %bcond_without netcdf_support %endif -# Build the GDAL Python bindings for the additional supported flavors in -# addition to the default interpreter, so other packages can depend on -# the full set and not just the primary one (boo#1246076) -%add_python python311 %bcond_with ecw_support %bcond_with ecw5_support %bcond_with fgdb_support %bcond_with kml_support -%bcond_with sfcgal_support +%bcond_without sfcgal_support %bcond_with hdf4_support %bcond_without heif_support %bcond_without qhull_support @@ -48,6 +44,16 @@ %bcond_with arrow_support %bcond_without avif_support %bcond_with tests_support +# Each heavy-dependency driver is shipped as a separately-toggleable +# loadable plugin subpackage (gdal-<driver>); turning a bcond off builds +# the driver into the core (or drops it) and omits its subpackage +%bcond_without hdf5_plugin +%bcond_without kea_plugin +%bcond_without pdf_plugin +%bcond_without postgresql_plugin +%bcond_without mysql_plugin +%bcond_without fits_plugin +%bcond_without netcdf_plugin Name: gdal Version: 3.13.1 Release: 0 @@ -244,6 +250,72 @@ %description bash-completion bash command line completion support for GDAL +%if %{with hdf5_plugin} +%package -n %{name}-hdf5 +Summary: GDAL HDF5 driver plugin +Requires: %{name} = %{version}-%{release} + +%description -n %{name}-hdf5 +GDAL loadable driver plugin for the HDF5 raster format, including the +derived BAG and S-102/S-104/S-111 product drivers. +%endif + +%if %{with kea_plugin} +%package -n %{name}-kea +Summary: GDAL KEA driver plugin +Requires: %{name} = %{version}-%{release} + +%description -n %{name}-kea +GDAL loadable driver plugin for the KEA raster format (libkea/HDF5). +%endif + +%if %{with pdf_plugin} +%package -n %{name}-pdf +Summary: GDAL PDF driver plugin +Requires: %{name} = %{version}-%{release} + +%description -n %{name}-pdf +GDAL loadable driver plugin for reading and writing geospatial PDF files +(rendering via Poppler). +%endif + +%if %{with postgresql_plugin} +%package -n %{name}-postgresql +Summary: GDAL PostgreSQL/PostGIS driver plugin +Requires: %{name} = %{version}-%{release} + +%description -n %{name}-postgresql +GDAL/OGR loadable driver plugins for PostgreSQL/PostGIS: the OGR PostgreSQL +vector driver and the PostGISRaster raster driver. +%endif + +%if %{with mysql_plugin} +%package -n %{name}-mysql +Summary: GDAL MySQL driver plugin +Requires: %{name} = %{version}-%{release} + +%description -n %{name}-mysql +OGR loadable driver plugin for the MySQL/MariaDB vector format. +%endif + +%if %{with cfitsio_support} && %{with fits_plugin} +%package -n %{name}-fits +Summary: GDAL FITS driver plugin +Requires: %{name} = %{version}-%{release} + +%description -n %{name}-fits +GDAL loadable driver plugin for the FITS raster format (cfitsio). +%endif + +%if %{with netcdf_support} && %{with netcdf_plugin} +%package -n %{name}-netcdf +Summary: GDAL netCDF driver plugin +Requires: %{name} = %{version}-%{release} + +%description -n %{name}-netcdf +GDAL loadable driver plugin for the netCDF raster/multidimensional format. +%endif + %define python_subpackage_only 1 %python_subpackages @@ -364,7 +436,29 @@ -DGDAL_USE_XERCESC=ON \ -DGDAL_USE_ZLIB=ON \ -DGDAL_USE_ZSTD=ON \ - -DOGR_BUILD_OPTIONAL_DRIVERS=ON + -DOGR_BUILD_OPTIONAL_DRIVERS=ON \ +%if %{with hdf5_plugin} + -DGDAL_ENABLE_DRIVER_HDF5_PLUGIN=ON \ +%endif +%if %{with kea_plugin} + -DGDAL_ENABLE_DRIVER_KEA_PLUGIN=ON \ +%endif +%if %{with pdf_plugin} + -DGDAL_ENABLE_DRIVER_PDF_PLUGIN=ON \ +%endif +%if %{with postgresql_plugin} + -DGDAL_ENABLE_DRIVER_POSTGISRASTER_PLUGIN=ON \ + -DOGR_ENABLE_DRIVER_PG_PLUGIN=ON \ +%endif +%if %{with mysql_plugin} + -DOGR_ENABLE_DRIVER_MYSQL_PLUGIN=ON \ +%endif +%if %{with cfitsio_support} && %{with fits_plugin} + -DGDAL_ENABLE_DRIVER_FITS_PLUGIN=ON \ +%endif +%if %{with netcdf_support} && %{with netcdf_plugin} + -DGDAL_ENABLE_DRIVER_NETCDF_PLUGIN=ON \ +%endif %cmake_build @@ -450,6 +544,7 @@ %files %license LICENSE.TXT %doc NEWS.md PROVENANCE.TXT +%dir %{_libdir}/gdalplugins %{_bindir}/gdal %{_bindir}/gdal_contour %{_bindir}/gdal_create @@ -699,3 +794,39 @@ %license LICENSE.TXT %{_datadir}/bash-completion/completions/* +%if %{with hdf5_plugin} +%files -n %{name}-hdf5 +%{_libdir}/gdalplugins/gdal_HDF5.so +%endif + +%if %{with kea_plugin} +%files -n %{name}-kea +%{_libdir}/gdalplugins/gdal_KEA.so +%endif + +%if %{with pdf_plugin} +%files -n %{name}-pdf +%{_libdir}/gdalplugins/gdal_PDF.so +%endif + +%if %{with postgresql_plugin} +%files -n %{name}-postgresql +%{_libdir}/gdalplugins/ogr_PG.so +%{_libdir}/gdalplugins/gdal_PostGISRaster.so +%endif + +%if %{with mysql_plugin} +%files -n %{name}-mysql +%{_libdir}/gdalplugins/ogr_MySQL.so +%endif + +%if %{with cfitsio_support} && %{with fits_plugin} +%files -n %{name}-fits +%{_libdir}/gdalplugins/gdal_FITS.so +%endif + +%if %{with netcdf_support} && %{with netcdf_plugin} +%files -n %{name}-netcdf +%{_libdir}/gdalplugins/gdal_netCDF.so +%endif +
