Temporarily restore movin python bindings to sitearch

This commit is contained in:
Sandro Mani 2022-03-10 21:59:01 +01:00
parent 0df95bc319
commit 22a946400b

View File

@ -219,6 +219,12 @@ mkdir -p %{buildroot}%{_datadir}/%{name}
install -p -m 644 xmlmapfile/mapfile.xsd %{buildroot}%{_datadir}/%{name}
install -p -m 644 xmlmapfile/mapfile.xsl %{buildroot}%{_datadir}/%{name}
# Move python bindings to sitearch
if [ "%{python3_sitelib}" != "%{python3_sitearch}" ]; then
mkdir -p %{buildroot}%{python3_sitearch}
mv %{buildroot}%{python3_sitelib}/* %{buildroot}%{python3_sitearch}
fi
# install java
mkdir -p %{buildroot}%{_javadir}
install -p -m 644 %{_vpath_builddir}/mapscript/java/mapscript.jar %{buildroot}%{_javadir}/