BUG #17852: gdal34: RPM build broken for RHEL8 and RHEL9 since 2023.01.08 - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #17852: gdal34: RPM build broken for RHEL8 and RHEL9 since 2023.01.08
Date
Msg-id 17852-a3959cd056e6c210@postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17852
Logged by:          Andris Pavenis
Email address:      andris.pavenis@gmail.com
PostgreSQL version: Unsupported/Unknown
Operating system:   Linux
Description:

Change 54e340aba0b0f761b035a8281d10e5156df36ad5 (gdal34: Use libspatialite50
on SLES 15. This is a followup commit to fix PostGIS issues on SLES 15, and
7ae8e6b9ba8.) 6df36ad5 breaks RHEL8 and RHEL9 builds of gdal34 RPMs

Condition in RPM SPEC file has incorrectly changed to opposite:
-%if 0%{?rhel} == 7 || 0%{?suse_version} >= 1315
+%if 0%{?rhel} == 7 || 0%{?suse_version} <= 1400


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #17845: insert into on conflict bug .
Next
From: Peter Geoghegan
Date:
Subject: Re: BUG #17845: insert into on conflict bug .