SHA256
1
0
forked from pool/paraview
paraview/paraview-rpmlintrc

11 lines
527 B
Plaintext
Raw Normal View History

Accepting request 778987 from home:badshah400:branches:science - Update to version 5.8.0: * See https://blog.kitware.com/paraview-5-8-0-release-notes/. - Rebase paraview-desktop-entry-fix.patch for updated location of desktop file in source. - Drop fix-QtGUI-missing-GLX_mesa-linking.patch: no longer required as linking GLX_mesa to build QtGUI is now correctly handled by build. - Drop 0001-Allow-compilation-on-GLES-platforms.patch: patch no longer applies (since vesin 5.7.0) and commenting out patch leads to factory_auto declining the submission. - Use ninja instead of make as recommended by upstream and to speed up build; define __builder to ninja so that cmake build macros use this instead of the default make. - Pass PARAVIEW_BUILD_WITH_EXTERNAL to cmake to use system third party libraries by default; pass VTK_MODULE_USE_EXTERNAL_<name> to use specific bundled libraries conditionally (gl2ps, haru, pugixml). - Use %cmake_build instead of %make_jobs during building. - Replace deprecated options passed to cmake by updated ones: * PARAVIEW_BUILD_QT_GUI -> DPARAVIEW_USE_QT * PARAVIEW_ENABLE_PYTHON -> PARAVIEW_USE_PYTHON. - Update paraview-rpmlintrc to suppress warning about a non-exec file that is installed to %{_bindir} and is really necessary (see https://gitlab.kitware.com/paraview/paraview/issues/19706); the previous entry no longer applies, so drop it. - Add absolutely necessary dependencies for paraview-devel as Requires. - Install python modules to %{python3_sitearch}/paraview rather than the default [%{python3_sitearch}] by setting PARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX when configuring cmake; this avoids file conflicts between python3-paraview and python3-vtk. - Don't install paraview-config: it doesn't work without the static libs being installed. OBS-URL: https://build.opensuse.org/request/show/778987 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=71
2020-02-27 12:57:31 +01:00
# A non-executable file in bindir is used by paraview to locate plugins (hard-coded)
# See https://gitlab.kitware.com/paraview/paraview/issues/19706
addFilter("non-executable-in-bin .*/usr/bin/paraview\.conf")
addFilter("script-without-shebang .*/usr/bin/paraview\.conf")
# This is a (static) plugin
addFilter("devel-file-in-non-devel-package .*/usr/lib.*/paraview-[0-9.]*/plugins/GeodesicMeasurement/libFmmMesh.a")
Accepting request 778987 from home:badshah400:branches:science - Update to version 5.8.0: * See https://blog.kitware.com/paraview-5-8-0-release-notes/. - Rebase paraview-desktop-entry-fix.patch for updated location of desktop file in source. - Drop fix-QtGUI-missing-GLX_mesa-linking.patch: no longer required as linking GLX_mesa to build QtGUI is now correctly handled by build. - Drop 0001-Allow-compilation-on-GLES-platforms.patch: patch no longer applies (since vesin 5.7.0) and commenting out patch leads to factory_auto declining the submission. - Use ninja instead of make as recommended by upstream and to speed up build; define __builder to ninja so that cmake build macros use this instead of the default make. - Pass PARAVIEW_BUILD_WITH_EXTERNAL to cmake to use system third party libraries by default; pass VTK_MODULE_USE_EXTERNAL_<name> to use specific bundled libraries conditionally (gl2ps, haru, pugixml). - Use %cmake_build instead of %make_jobs during building. - Replace deprecated options passed to cmake by updated ones: * PARAVIEW_BUILD_QT_GUI -> DPARAVIEW_USE_QT * PARAVIEW_ENABLE_PYTHON -> PARAVIEW_USE_PYTHON. - Update paraview-rpmlintrc to suppress warning about a non-exec file that is installed to %{_bindir} and is really necessary (see https://gitlab.kitware.com/paraview/paraview/issues/19706); the previous entry no longer applies, so drop it. - Add absolutely necessary dependencies for paraview-devel as Requires. - Install python modules to %{python3_sitearch}/paraview rather than the default [%{python3_sitearch}] by setting PARAVIEW_PYTHON_SITE_PACKAGES_SUFFIX when configuring cmake; this avoids file conflicts between python3-paraview and python3-vtk. - Don't install paraview-config: it doesn't work without the static libs being installed. OBS-URL: https://build.opensuse.org/request/show/778987 OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=71
2020-02-27 12:57:31 +01:00
# python3-matplotlib is not a lib
addFilter("python3-paraview.* explicit-lib-dependency python3-matplotlib")