Accepting request 783936 from home:StefanBruens:branches:science

- Remove -DVTK_PYTHON_SITE_PACKAGES_SUFFIX silently added with the
  last change. As it specifies the path relative to the install
  prefix, setting it to the absolute python_sitearch is obviously
  wrong. As VTK figures out the correct path by itself, it is
  completely unnecessary.

OBS-URL: https://build.opensuse.org/request/show/783936
OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=150
This commit is contained in:
Stefan Brüns 2020-03-11 15:32:16 +00:00 committed by Git OBS Bridge
parent 649c74d5ce
commit 5d019c8388
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Mar 11 13:17:49 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Remove -DVTK_PYTHON_SITE_PACKAGES_SUFFIX silently added with the
last change. As it specifies the path relative to the install
prefix, setting it to the absolute python_sitearch is obviously
wrong. As VTK figures out the correct path by itself, it is
completely unnecessary.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 10 14:06:37 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com> Tue Mar 10 14:06:37 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -402,7 +402,6 @@ export CXXFLAGS="%{optflags}"
-DVTK_INSTALL_LIBRARY_DIR:PATH=%{_lib} \ -DVTK_INSTALL_LIBRARY_DIR:PATH=%{_lib} \
-DVTK_INSTALL_PACKAGE_DIR:PATH=%{_lib}/cmake/%{pkgname} \ -DVTK_INSTALL_PACKAGE_DIR:PATH=%{_lib}/cmake/%{pkgname} \
-DVTK_INSTALL_QT_DIR:STRING=%{_lib}/qt5/plugins/designer \ -DVTK_INSTALL_QT_DIR:STRING=%{_lib}/qt5/plugins/designer \
-DVTK_PYTHON_SITE_PACKAGES_SUFFIX:PATH=%{python3_sitearch} \
-DVTK_PYTHON_VERSION=3 \ -DVTK_PYTHON_VERSION=3 \
-DVTK_QT_VERSION=5 \ -DVTK_QT_VERSION=5 \
-DVTK_USE_OGGTHEORA_ENCODER:BOOL=ON \ -DVTK_USE_OGGTHEORA_ENCODER:BOOL=ON \