From: Devrim Gunduz Date: Mon, 17 Nov 2025 10:29:13 +0000 (+0300) Subject: PostGIS 3.6: Update to 3.6.1 per https://git.osgeo.org/gitea/postgis/postgis/raw... X-Git-Url: http://git.postgresql.org/gitweb/static/%7B%7Bpgdulink%28?a=commitdiff_plain;h=bc0f1cb183726818125d68f10984613201bc17f7;p=pgrpms.git PostGIS 3.6: Update to 3.6.1 per https://git.osgeo.org/gitea/postgis/postgis/raw/tag/3.6.1/NEWS . Also build with GDAL 3.12 on all platforms except RHEL 8 and SLES 15. --- diff --git a/rpm/redhat/main/non-common/postgis36/main/postgis36.spec b/rpm/redhat/main/non-common/postgis36/main/postgis36.spec index 51ef187bc..acbf4430f 100644 --- a/rpm/redhat/main/non-common/postgis36/main/postgis36.spec +++ b/rpm/redhat/main/non-common/postgis36/main/postgis36.spec @@ -19,13 +19,18 @@ %global projfullversion %proj96fullversion %global projinstdir %proj96instdir %else -%global gdalfullversion %gdal311fullversion -%global gdalmajorversion %gdal311majorversion -%global gdalinstdir %gdal311instdir +%global gdalfullversion %gdal312fullversion +%global gdalmajorversion %gdal312majorversion +%global gdalinstdir %gdal312instdir %global projmajorversion %proj97majorversion %global projfullversion %proj97fullversion %global projinstdir %proj97instdir %endif +%if 0%{?suse_version} == 1500 +%global gdalfullversion %gdal311fullversion +%global gdalmajorversion %gdal311majorversion +%global gdalinstdir %gdal311instdir +%endif %{!?llvm:%global llvm 1} @@ -33,7 +38,7 @@ %{!?shp2pgsqlgui:%global shp2pgsqlgui 1} %{!?raster:%global raster 1} -%if 0%{?fedora} >= 40 || 0%{?rhel} >= 9 || 0%{?suse_version} >= 1500 +%if 0%{?fedora} >= 41 || 0%{?rhel} >= 9 || 0%{?suse_version} >= 1500 %{!?sfcgal:%global sfcgal 1} %endif %if 0%{?rhel} == 8 @@ -46,8 +51,8 @@ Summary: Geographic Information Systems Extensions to PostgreSQL Name: %{sname}%{postgiscurrmajorversion}_%{pgmajorversion} -Version: %{postgismajorversion}.0 -Release: 6PGDG%{?dist} +Version: %{postgismajorversion}.1 +Release: 1PGDG%{?dist} License: GPLv2+ Source0: https://download.osgeo.org/postgis/source/postgis-%{version}.tar.gz Source2: https://download.osgeo.org/postgis/docs/postgis-%{version}-en.pdf @@ -57,8 +62,8 @@ URL: https://www.postgis.net/ BuildRequires: postgresql%{pgmajorversion}-devel geos%{geosmajorversion}-devel >= %{geosfullversion} BuildRequires: libgeotiff%{libgeotiffmajorversion}-devel libxml2 libxslt -BuildRequires: pgdg-srpm-macros >= 1.0.50 gmp-devel pcre2-devel -%if 0%{?fedora} >= 40 || 0%{?rhel} >= 8 +BuildRequires: pgdg-srpm-macros >= 1.0.52 gmp-devel pcre2-devel +%if 0%{?fedora} >= 41 || 0%{?rhel} >= 8 Requires: pcre2 %else Requires: libpcre2-8-0 @@ -117,7 +122,7 @@ Requires: libjson-c5 Requires: libxerces-c-3_3 BuildRequires: libxerces-c-devel %endif -%if 0%{?fedora} >= 40 || 0%{?rhel} >= 8 +%if 0%{?fedora} >= 41 || 0%{?rhel} >= 8 Requires: json-c xerces-c BuildRequires: xerces-c-devel %endif @@ -242,7 +247,7 @@ autoconf %if %{shp2pgsqlgui} --with-gui \ %endif -%if 0%{?fedora} >= 40 || 0%{?rhel} >= 8 || 0%{?suse_version} >= 1500 +%if 0%{?fedora} >= 41 || 0%{?rhel} >= 8 || 0%{?suse_version} >= 1500 --with-protobuf \ %else --without-protobuf \ @@ -384,6 +389,11 @@ fi %endif %changelog +* Mon Nov 17 2025 Devrim Gündüz - 3.6.1-1PGDG +- Update to 3.6.1 per: + https://git.osgeo.org/gitea/postgis/postgis/raw/tag/3.6.1/NEWS +- Build with GDAL 3.12 on all platforms except RHEL 8 and SLES 15. + * Wed Nov 12 2025 Devrim Gunduz - 3.6.0-6PGDG - Fix pcre2 dependency on RHEL 8 and 9. Per report from Christopher Lorenz: https://www.postgresql.org/message-id/fc8e323142484d98b5d1720e0811ce9c%40ZIT-BB.Brandenburg.de