diff --git a/mapserver.spec b/mapserver.spec index 2dc5a29..bb7bd1c 100644 --- a/mapserver.spec +++ b/mapserver.spec @@ -99,8 +99,6 @@ 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) @@ -322,6 +320,9 @@ echo >"mapserver.conf" <<-EOF END EOF +mkdir -pv "%buildroot/%python3_sitearch" +mv -v "%buildroot/%python3_sitelib"/* "%buildroot/%python3_sitearch/" + %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig