2136714d59
- Update pythondestdir patch to use RPM_BUILD_ROOT - Cleanup spec file
12 lines
646 B
Diff
12 lines
646 B
Diff
--- VTK/Wrapping/Python/CMakeLists.txt.pythondestdir 2008-05-03 21:34:42.000000000 +0200
|
|
+++ VTK/Wrapping/Python/CMakeLists.txt 2008-10-05 11:15:44.000000000 +0200
|
|
@@ -348,7 +348,7 @@
|
|
|
|
# Create default python setup arguments if they are not set.
|
|
IF(NOT DEFINED VTK_PYTHON_SETUP_ARGS)
|
|
- SET(VTK_PYTHON_SETUP_ARGS "--prefix=\"${DOLLAR}{CMAKE_INSTALL_PREFIX}\""
|
|
+ SET(VTK_PYTHON_SETUP_ARGS "-O1 --root=\"${DOLLAR}ENV{RPM_BUILD_ROOT}\""
|
|
CACHE STRING "Arguments passed to \"python setup.py install ...\" during installation.")
|
|
MARK_AS_ADVANCED(VTK_PYTHON_SETUP_ARGS)
|
|
ENDIF(NOT DEFINED VTK_PYTHON_SETUP_ARGS)
|