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