forked from pool/paraview
Accepting request 1041201 from science
OBS-URL: https://build.opensuse.org/request/show/1041201 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/paraview?expand=0&rev=48
This commit is contained in:
commit
d3f2635fcc
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 6 18:50:30 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Build with system verdict for openSUSE > 1500.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 30 16:40:06 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
|
@ -23,8 +23,10 @@
|
||||
|
||||
%if 0%{?suse_version} <= 1500
|
||||
%bcond_with pugixml
|
||||
%bcond_with verdict
|
||||
%else
|
||||
%bcond_without pugixml
|
||||
%bcond_without verdict
|
||||
%endif
|
||||
|
||||
%if 0%{?sle_version} == 150300 && 0%{?is_opensuse}
|
||||
@ -124,6 +126,9 @@ BuildRequires: pkgconfig(proj)
|
||||
%if %{with pugixml}
|
||||
BuildRequires: pkgconfig(pugixml) >= 1.11
|
||||
%endif
|
||||
%if %{with verdict}
|
||||
BuildRequires: verdict-devel
|
||||
%endif
|
||||
%if 0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150300
|
||||
BuildRequires: cli11-devel
|
||||
%else
|
||||
@ -236,7 +241,7 @@ sed -Ei "1{s|#!/usr/bin/env python3|#!/usr/bin/python3|}" Clients/CommandLineExe
|
||||
-DVTK_MODULE_USE_EXTERNAL_VTK_libproj=%{?with_proj:ON}%{!?with_proj:OFF} \
|
||||
-DVTK_MODULE_USE_EXTERNAL_VTK_nlohmannjson=%{?with_nlohmann:ON}%{!?with_nlohmann:OFF} \
|
||||
-DVTK_MODULE_USE_EXTERNAL_VTK_pugixml=%{?with_pugixml:ON}%{!?with_pugixml:OFF} \
|
||||
-DVTK_MODULE_USE_EXTERNAL_VTK_verdict=OFF \
|
||||
-DVTK_MODULE_USE_EXTERNAL_VTK_verdict=%{?with_verdict:ON}%{!?with_verdict:OFF} \
|
||||
%{nil}
|
||||
|
||||
%cmake_build
|
||||
|
Loading…
Reference in New Issue
Block a user