1
0
forked from pool/mapserver
mapserver/mapserver-7.6.1-fix_python_install_path.patch
Martin Pluskal c0f6885193 Accepting request 832766 from home:bmanojlovic:branches:Application:Geo
- added _with_python 1 macro so if in future breakage it can be unset 
  no need to specially change .spec file
- updated to latest version 7.6.1 
- fix building on opensuse leap 15.X
- added mapserver-7.6.1-fix_python_install_path.patch to fix
  python install location defaulting to arch independent location
- a lot of changes between versions please look at:
  https://mapserver.org/development/changelog/changelog-7-6.html#changelog-7-6
  and at this location:
  https://github.com/mapserver/mapserver/blob/branch-7-6/HISTORY.TXT
- security fixes from older versions: CVE-2020-10872 and CVE-2020-10873

OBS-URL: https://build.opensuse.org/request/show/832766
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/mapserver?expand=0&rev=115
2020-09-08 08:40:59 +00:00

14 lines
588 B
Diff

Index: mapscript/python/CMakeLists.txt
===================================================================
--- mapscript/python/CMakeLists.txt.orig 2020-07-31 19:11:56.000000000 +0200
+++ mapscript/python/CMakeLists.txt 2020-09-05 14:44:10.142799065 +0200
@@ -146,7 +146,7 @@ install(
endif()
execute_process(
- COMMAND ${PYTHON_EXECUTABLE} setup.py install \${PYTHON_ROOT} \${PYTHON_PREFIX}
+ COMMAND ${PYTHON_EXECUTABLE} setup.py install --install-lib=${PYTHON_SITE_PACKAGES} \${PYTHON_ROOT} \${PYTHON_PREFIX}
WORKING_DIRECTORY ${OUTPUT_FOLDER}
)
"