SHA256
1
0
forked from pool/paraview

Accepting request 1040789 from home:badshah400:branches:science

- Build with system verdict for openSUSE > 1500.

OBS-URL: https://build.opensuse.org/request/show/1040789
OBS-URL: https://build.opensuse.org/package/show/science/paraview?expand=0&rev=112
This commit is contained in:
Vicente Adolfo Bolea Sanchez 2022-12-07 18:57:07 +00:00 committed by Git OBS Bridge
parent 3a71f256d1
commit e363b6ae65
2 changed files with 11 additions and 1 deletions

View File

@ -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> Wed Nov 30 16:40:06 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -23,8 +23,10 @@
%if 0%{?suse_version} <= 1500 %if 0%{?suse_version} <= 1500
%bcond_with pugixml %bcond_with pugixml
%bcond_with verdict
%else %else
%bcond_without pugixml %bcond_without pugixml
%bcond_without verdict
%endif %endif
%if 0%{?sle_version} == 150300 && 0%{?is_opensuse} %if 0%{?sle_version} == 150300 && 0%{?is_opensuse}
@ -124,6 +126,9 @@ BuildRequires: pkgconfig(proj)
%if %{with pugixml} %if %{with pugixml}
BuildRequires: pkgconfig(pugixml) >= 1.11 BuildRequires: pkgconfig(pugixml) >= 1.11
%endif %endif
%if %{with verdict}
BuildRequires: verdict-devel
%endif
%if 0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150300 %if 0%{?suse_version} <= 1500 && 0%{?sle_version} <= 150300
BuildRequires: cli11-devel BuildRequires: cli11-devel
%else %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_libproj=%{?with_proj:ON}%{!?with_proj:OFF} \
-DVTK_MODULE_USE_EXTERNAL_VTK_nlohmannjson=%{?with_nlohmann:ON}%{!?with_nlohmann: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_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} %{nil}
%cmake_build %cmake_build