%%check || : does not work anymore, enable java by default.

This commit is contained in:
athimm 2008-08-25 12:06:41 +00:00
parent a197ad5476
commit bc75df9bea
1 changed files with 15 additions and 5 deletions

View File

@ -1,14 +1,17 @@
%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: 21%{?dist}
License: BSD-like
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
License: BSD
Group: System Environment/Libraries
Source: http://www.vtk.org/files/release/5.0/%{name}-%{version}.tar.gz
Patch0: vtk-5.0.0-pythondestdir.patch
@ -102,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.
@ -285,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
@ -369,6 +372,13 @@ rm -rf %{buildroot}
%{_libdir}/vtk-examples-5.0
%changelog
* Sun Aug 24 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-23
- %%check || : does not work anymore.
- enable java by default.
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 5.0.4-22
- fix license tag
* Sat Apr 12 2008 Axel Thimm <Axel.Thimm@ATrpms.net> - 5.0.4-21
- Fixes for gcc 4.3 by Orion Poplawski.