1
0
forked from pool/mapserver
Jan Engelhardt 2022-10-09 08:57:17 +00:00 committed by Git OBS Bridge
parent 0d59903057
commit 038641944e

View File

@ -99,9 +99,9 @@ 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)
%package -n php-mapscript %package -n php-mapscript
Summary: PHP/Mapscript map making extensions to PHP Summary: PHP/Mapscript map making extensions to PHP
Group: Development/Libraries/Other Group: Development/Libraries/Other
@ -320,8 +320,10 @@ echo >"mapserver.conf" <<-EOF
END END
EOF EOF
%if 0%{?suse_version} < 1550
mkdir -pv "%buildroot/%python3_sitearch" mkdir -pv "%buildroot/%python3_sitearch"
mv -v "%buildroot/%python3_sitelib"/* "%buildroot/%python3_sitearch/" mv -v "%buildroot/%python3_sitelib"/* "%buildroot/%python3_sitearch/"
%endif
%post -n %{libname} -p /sbin/ldconfig %post -n %{libname} -p /sbin/ldconfig