From 0d5990305726a38556efb8fba636de0d8b84496732fbd7ac81007983845009f3 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 9 Oct 2022 08:44:09 +0000 Subject: [PATCH] leap15.3 build fix after patch removal OBS-URL: https://build.opensuse.org/package/show/Application:Geo/mapserver?expand=0&rev=134 --- mapserver.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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