From 038641944e5125be518a6922c65498332fedc3d8eec13ef2af613792f7e3dbab Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 9 Oct 2022 08:57:17 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Application:Geo/mapserver?expand=0&rev=135 --- mapserver.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mapserver.spec b/mapserver.spec index bb7bd1c..df1173a 100644 --- a/mapserver.spec +++ b/mapserver.spec @@ -99,9 +99,9 @@ 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 @@ -320,8 +320,10 @@ echo >"mapserver.conf" <<-EOF END EOF +%if 0%{?suse_version} < 1550 mkdir -pv "%buildroot/%python3_sitearch" mv -v "%buildroot/%python3_sitelib"/* "%buildroot/%python3_sitearch/" +%endif %post -n %{libname} -p /sbin/ldconfig