Todd R 2018-11-22 15:02:52 +00:00 committed by Git OBS Bridge
parent 600ad7d3a8
commit dce3cc2897

View File

@ -23,7 +23,7 @@
%define shlib %{vtklib} %define shlib %{vtklib}
Name: vtk Name: vtk
Version: 8.1.2 Version: 8.1.1
Release: 0 Release: 0
%define series 8.1 %define series 8.1
# This is a variant BSD license, a cross between BSD and ZLIB. # This is a variant BSD license, a cross between BSD and ZLIB.
@ -81,7 +81,6 @@ BuildRequires: netcdf-devel
BuildRequires: openmpi-devel BuildRequires: openmpi-devel
BuildRequires: python3-devel BuildRequires: python3-devel
BuildRequires: python3-mpi4py-devel BuildRequires: python3-mpi4py-devel
BuildRequires: python3-numpy-devel
BuildRequires: python3-qt5-devel BuildRequires: python3-qt5-devel
BuildRequires: tcl-devel BuildRequires: tcl-devel
BuildRequires: tk-devel BuildRequires: tk-devel
@ -180,9 +179,6 @@ This package provides java bindings for VTK.
Summary: Python bindings for VTK Summary: Python bindings for VTK
Group: Development/Languages/Python Group: Development/Languages/Python
Requires: %{shlib} = %{version} Requires: %{shlib} = %{version}
Requires: python3-mpi4py
Requires: python3-numpy
Requires: python3-qt5
Conflicts: python3-vtk-compat_gl Conflicts: python3-vtk-compat_gl
%description -n python3-%{name} %description -n python3-%{name}
@ -370,10 +366,6 @@ chrpath -d %{buildroot}%{_bindir}/*
%fdupes -s %{buildroot} %fdupes -s %{buildroot}
%check
export PYTHONPATH=%{buildroot}%{python3_sitearch}
python3 -c "import python3"
%post -n %{shlib} -p /sbin/ldconfig %post -n %{shlib} -p /sbin/ldconfig
%postun -n %{shlib} -p /sbin/ldconfig %postun -n %{shlib} -p /sbin/ldconfig