It's no longer needed to move Python bindings with setuptools >= 60.x

This commit is contained in:
Sandro Mani 2022-03-22 10:11:40 +01:00
parent 22a946400b
commit 24987b569b

View File

@ -11,7 +11,7 @@
Name: mapserver
Version: 7.6.4
Release: 13%{?dist}
Release: 14%{?dist}
Summary: Environment for building spatially-enabled internet applications
%global dashver %(echo %version | sed 's|\\.|-|g')
@ -219,12 +219,6 @@ 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}/
@ -303,6 +297,9 @@ EOF
%changelog
* Tue Mar 22 2022 Sandro Mani <manisandro@gmail.com> - 7.6.4-14
- It's no longer needed to move Python bindings with setuptools >= 60.x
* Thu Mar 10 2022 Sandro Mani <manisandro@gmail.com> - 7.6.4-13
- Rebuild for proj-9.0.0