leap15.3 build fix after patch removal

OBS-URL: https://build.opensuse.org/package/show/Application:Geo/mapserver?expand=0&rev=134
This commit is contained in:
Jan Engelhardt 2022-10-09 08:44:09 +00:00 committed by Git OBS Bridge
parent 891b3bfc81
commit 0d59903057

View File

@ -99,8 +99,6 @@ Group: System/Libraries
Mapserver library for mapserver or mapscript module. you need this lib to run mapserver Mapserver library for mapserver or mapscript module. you need this lib to run mapserver
or any of the mapscript module (php, java, python, ruby) or any of the mapscript module (php, java, python, ruby)
# We don't require apache2_mod-php8 users could have php5 running # We don't require apache2_mod-php8 users could have php5 running
# with other modes (cgi, php-fpm, etc) # with other modes (cgi, php-fpm, etc)
@ -322,6 +320,9 @@ echo >"mapserver.conf" <<-EOF
END END
EOF EOF
mkdir -pv "%buildroot/%python3_sitearch"
mv -v "%buildroot/%python3_sitelib"/* "%buildroot/%python3_sitearch/"
%post -n %{libname} -p /sbin/ldconfig %post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig