From 7cbd2c1e5e1489f263f2c7fa4198055b75f47ed5 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Mon, 4 May 2020 01:35:31 +0200 Subject: [PATCH] Pass --with-pgconfig=%%{_bindir}/pg_server_config --- postgis.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/postgis.spec b/postgis.spec index 2b79866..d2c1734 100644 --- a/postgis.spec +++ b/postgis.spec @@ -29,7 +29,7 @@ Summary: Geographic Information Systems Extensions to PostgreSQL Name: postgis Version: %majorversion.1 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ Source0: http://download.osgeo.org/%{name}/source/%{name}-%{version}.tar.gz Source2: http://download.osgeo.org/%{name}/docs/%{name}-%{version}.pdf @@ -135,7 +135,7 @@ cp -p %{SOURCE2} . %build -%configure %configure_opts --with-gui +%configure %configure_opts --with-gui --with-pgconfig=%{_bindir}/pg_server_config sed -i 's| -fstack-clash-protection | |' postgis/Makefile sed -i 's| -fstack-clash-protection | |' raster/rt_pg/Makefile sed -i 's| -fstack-clash-protection | |' topology/Makefile @@ -344,6 +344,9 @@ fi %changelog +* Mon May 04 2020 Sandro Mani - 3.0.1-6 +- Pass --with-pgconfig=%%{_bindir}/pg_server_config + * Sun May 03 2020 Sandro Mani - 3.0.1-5 - Move postgis-upgrade to 2.5.4