It's no longer needed to move Python bindings with setuptools >= 60.x
This commit is contained in:
parent
22a946400b
commit
24987b569b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user