From dc134a06369adb23e7bfabde7782e638aeb4927129efe8ceef18019ebed8191f Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 26 Jul 2022 15:37:15 +0000 Subject: [PATCH] Accepting request 991267 from home:bmanojlovic:branches:Application:Geo - re-enable postgresql support... OBS-URL: https://build.opensuse.org/request/show/991267 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/mapserver?expand=0&rev=131 --- mapserver.changes | 5 +++++ mapserver.spec | 11 ++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/mapserver.changes b/mapserver.changes index 402b4d9..a4834fb 100644 --- a/mapserver.changes +++ b/mapserver.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 26 14:54:06 UTC 2022 - Boris Manojlovic + +- re-enable postgresql support... + ------------------------------------------------------------------- Wed Mar 9 12:06:56 UTC 2022 - Jan Engelhardt diff --git a/mapserver.spec b/mapserver.spec index 2c0580b..4942597 100644 --- a/mapserver.spec +++ b/mapserver.spec @@ -71,9 +71,9 @@ BuildRequires: mysql-devel BuildRequires: openjpeg2-devel BuildRequires: pam BuildRequires: pam-devel -#BuildRequires: postgresql-devel >= 9.1 +BuildRequires: postgresql-devel >= 9.1 %if 0%{?suse_version} >= 1500 -#BuildRequires: postgresql-server-devel >= 9.1 +BuildRequires: postgresql-server-devel >= 9.1 %endif BuildRequires: libprotobuf-c-devel BuildRequires: proj @@ -102,9 +102,10 @@ Group: System/Libraries Mapserver library for mapserver or mapscript module. you need this lib to run mapserver or any of the mapscript module (php, java, python, ruby) + + # We don't require apache2_mod-php8 users could have php5 running # with other modes (cgi, php-fpm, etc) - %package -n php-mapscript Summary: PHP/Mapscript map making extensions to PHP Group: Development/Libraries/Other @@ -142,8 +143,8 @@ Group: Development/Languages/Python BuildRequires: python3-devel BuildRequires: python3-setuptools %endif -Requires: python3-base Requires: %{libname} = %{version}-%{release} +Requires: python3-base Provides: mapserver-python = %{version}-%{release} Obsoletes: mapserver-python < %{version}-%{release} @@ -237,7 +238,7 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \ -DWITH_PERL=TRUE \ -DCUSTOM_PERL_SITE_ARCH_DIR="%{perl_vendorarch}" \ -DWITH_PHPNG=FALSE \ - -DWITH_POSTGIS=FALSE \ + -DWITH_POSTGIS=TRUE \ -DWITH_PROJ=TRUE \ -DUSE_PROJ=TRUE \ -DWITH_PROTOBUFC=TRUE \