Skip to content

Commit

Permalink
Update GDAL to 3.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed Dec 10, 2023
1 parent f8fc8e3 commit 8832fca
Showing 1 changed file with 17 additions and 10 deletions.
27 changes: 17 additions & 10 deletions specs/gdal3.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@

################################################################################

%global sqlite_min_ver %(rpm -q --quiet sqlite-devel && rpm -q --qf '%{VERSION}' sqlite-devel || echo "3")
%global libcurl_min_ver %(rpm -q --quiet libcurl-devel && rpm -q --qf '%{VERSION}' libcurl-devel || echo "7")
%global sqlite_ver %(rpm -q --quiet sqlite-devel && rpm -q --qf '%%{version}' sqlite-devel || echo "3")
%global libcurl_ver %(rpm -q --quiet libcurl-devel && rpm -q --qf '%%{version}' libcurl-devel || echo "8")
%global hdf5_ver %(rpm -q --quiet hdf5-devel && rpm -q --qf '%%{version}' hdf5-devel || echo "1.14")

################################################################################

Expand All @@ -25,8 +26,8 @@

Summary: A translator library for raster and vector geospatial data formats
Name: %{fullname}
Version: 3.7.2
Release: 1%{?dist}
Version: 3.7.3
Release: 0%{?dist}
License: MIT
Group: Development/Libraries
URL: https://www.gdal.org
Expand All @@ -44,17 +45,19 @@ BuildRequires: cmake swig
%endif

BuildRequires: gcc-c++ bison expat-devel freexl-devel geos-devel hdf-devel
BuildRequires: hdf5-devel libgeotiff-devel libjpeg-turbo-devel libpng-devel
BuildRequires: libgeotiff-devel libjpeg-turbo-devel libpng-devel
BuildRequires: libtiff-devel libzstd-devel libwebp-devel netcdf-devel
BuildRequires: openexr-devel openjpeg2-devel proj-devel
BuildRequires: xerces-c-devel xz-devel zlib-devel giflib-devel
BuildRequires: postgresql%{pg_short_ver}-devel

BuildRequires: sqlite-devel >= %{sqlite_min_ver}
BuildRequires: libcurl-devel >= %{libcurl_min_ver}
BuildRequires: sqlite-devel >= %{sqlite_ver}
BuildRequires: libcurl-devel >= %{libcurl_ver}
BuildRequires: hdf5-devel = %{hdf5_ver}

Requires: libcurl >= %{libcurl_min_ver}
Requires: sqlite-libs >= %{sqlite_min_ver}
Requires: libcurl >= %{libcurl_ver}
Requires: sqlite-libs >= %{sqlite_ver}
Requires: hdf5 >= %{hdf5_ver}

Provides: %{name} = %{version}-%{release}

Expand Down Expand Up @@ -85,8 +88,9 @@ Group: Development/Libraries

Requires: %{name}-libs = %{version}-%{release}

Requires: libcurl-devel >= %{libcurl_min_ver}
Requires: postgresql%{pg_short_ver}-devel
Requires: libcurl-devel >= %{libcurl_ver}
Requires: hdf5-devel = %{hdf5_ver}

%description devel
Development Libraries for the GDAL file format library.
Expand Down Expand Up @@ -151,6 +155,9 @@ rm -rf %{buildroot}
################################################################################

%changelog
* Sat Dec 09 2023 Anton Novojilov <[email protected]> - 3.7.3-0
- https://github.com/OSGeo/gdal/blob/v3.7.3/NEWS.md

* Tue Oct 10 2023 Anton Novojilov <[email protected]> - 3.7.2-1
- Spec refactoring

Expand Down

0 comments on commit 8832fca

Please sign in to comment.