From 283dcfcaad474edd119bdbb13708eaa0d8ee2ebe Mon Sep 17 00:00:00 2001 From: athimm Date: Mon, 25 Aug 2008 12:06:41 +0000 Subject: [PATCH] %%check || : does not work anymore, enable java by default. --- vtk.spec | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/vtk.spec b/vtk.spec index 2f13604..dcbfa80 100644 --- a/vtk.spec +++ b/vtk.spec @@ -1,13 +1,13 @@ %bcond_without OSMesa %bcond_with qt4 -%bcond_with java +%bcond_without java %{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Summary: The Visualization Toolkit - A high level 3D visualization library Name: vtk Version: 5.0.4 -Release: 22%{?dist} +Release: 23%{?dist} # This is a variant BSD license, a cross between BSD and ZLIB. # For all intents, it has the same rights and restrictions as BSD. # http://fedoraproject.org/wiki/Licensing/BSD#VTKBSDVariant @@ -105,7 +105,7 @@ programming languages. %prep %setup -q -n VTK %patch0 -p1 -%patch1 -p1 +%patch1 -p1 -b .gcc43 # Replace relative path ../../../VTKData with %{_datadir}/vtkdata-%{version} # otherwise it will break on symlinks. @@ -288,7 +288,7 @@ find Utilities/Upgrading -type f | xargs chmod -x # Add exec bits to shared libs ... chmod 0755 %{buildroot}%{_libdir}/vtk-5.0/CMake/*.so -%check || : +%check #LD_LIBARARY_PATH=`pwd`/bin ctest -V %clean @@ -372,6 +372,10 @@ rm -rf %{buildroot} %{_libdir}/vtk-examples-5.0 %changelog +* Sun Aug 24 2008 Axel Thimm - 5.0.4-23 +- %%check || : does not work anymore. +- enable java by default. + * Wed May 21 2008 Tom "spot" Callaway - 5.0.4-22 - fix license tag