From 4119d27b1f7e5bbdd2ea88996041432e0996e128bc5e9a50986b859dec567cdb Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Sat, 20 Jul 2013 11:41:57 +0000 Subject: [PATCH] Accepting request 183704 from home:badshah400:branches:science Disable R bindings to workaround build failures when it is enabled, in openSUSE:Factory. Will enable back when the real fix is found. OBS-URL: https://build.opensuse.org/request/show/183704 OBS-URL: https://build.opensuse.org/package/show/science/vtk?expand=0&rev=44 --- vtk.changes | 7 +++++++ vtk.spec | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/vtk.changes b/vtk.changes index 5fb0dc7..fcffdb7 100644 --- a/vtk.changes +++ b/vtk.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Jul 19 02:52:28 UTC 2013 - badshah400@gmail.com + +- Disable R bindings for Factory, since it causes weird build + failures in openSUSE:Factory, (strangely no failures in devel + project) until the reason behind the failure is found and fixed. + ------------------------------------------------------------------- Fri Jun 28 13:41:09 UTC 2013 - badshah400@gmail.com diff --git a/vtk.spec b/vtk.spec index f7ff9e8..72eba68 100644 --- a/vtk.spec +++ b/vtk.spec @@ -62,7 +62,9 @@ BuildRequires: libXt-devel %else BuildRequires: xorg-x11-devel %endif +%if 0%{?suse_version} <= 1230 BuildRequires: R-base-devel +%endif BuildRequires: libexpat-devel BuildRequires: libiodbc-devel BuildRequires: libjpeg-devel @@ -110,7 +112,9 @@ Requires: Mesa-devel Requires: gl2ps-devel Requires: hdf5-devel %endif +%if 0%{?suse_version} <= 1230 Requires: R-base-devel +%endif Requires: libexpat-devel Requires: libjpeg-devel Requires: libmysqlclient-devel @@ -300,7 +304,11 @@ cmake .. \ -DVTK_Group_StandAlone:BOOL=ON \ -DVTK_Group_Tk:BOOL=ON \ -DVTK_Group_Views:BOOL=ON \ +%if 0%{?suse_version} <= 1230 -DModule_vtkFiltersStatisticsGnuR:BOOL=ON \ +%else + -DModule_vtkFiltersStatisticsGnuR:BOOL=OFF \ +%endif -DVTK_WRAP_TCL:BOOL=ON make %{?_smp_mflags} VERBOSE=1