This commit is contained in:
parent
7d45e74b49
commit
59db080718
@ -16,6 +16,8 @@
|
||||
#
|
||||
|
||||
|
||||
%define _vtkVersion %(LC_ALL="C" rpm --qf '%%{VERSION}' -q vtk-devel | grep -v 'not installed')
|
||||
%define _pythonvtkused 0%(echo "%{_vtkVersion}" | grep -q '^6' && echo 1)
|
||||
%define tarname GammaRay
|
||||
Name: gammaray
|
||||
Version: 2.3.0
|
||||
@ -36,7 +38,11 @@ BuildRequires: graphviz-devel
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?_pythonvtkused}
|
||||
BuildRequires: python-vtk
|
||||
%else
|
||||
BuildRequires: python3-vtk
|
||||
%endif
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: vtk-devel
|
||||
BuildRequires: vtk-java
|
||||
|
Loading…
Reference in New Issue
Block a user