From a0404f7290329b34466daf9dac4b024d516572d0 Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Fri, 26 Jul 2024 01:12:34 +0200 Subject: [PATCH] [cepgen] Disable BoostWrapper addon --- cepgen.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cepgen.spec b/cepgen.spec index 03b24e3e955..b68d3ce3301 100644 --- a/cepgen.spec +++ b/cepgen.spec @@ -3,10 +3,11 @@ Source: https://github.com/cepgen/cepgen/archive/refs/tags/%{realversion}.tar.gz BuildRequires: cmake ninja -Requires: gsl OpenBLAS hepmc hepmc3 lhapdf pythia6 root bz2lib zlib xz +Requires: gsl OpenBLAS hepmc hepmc3 lhapdf pythia6 root bz2lib zlib xz python3 %prep %setup -n %{n}-%{realversion} +sed -i -e 's|add_subdirectory(BoostWrapper)||' CepGenAddOns/CMakeLists.txt %build rm -rf ../build @@ -25,6 +26,7 @@ cmake ../%{n}-%{realversion} \ -G Ninja \ -DCMAKE_INSTALL_PREFIX:PATH="%i" \ -DCMAKE_BUILD_TYPE=Release \ + -DBoost_NO_SYSTEM_PATHS=ON \ -DCMAKE_PREFIX_PATH="${BZ2LIB_ROOT};${ZLIB_ROOT};${XZ_ROOT}" ninja -v %{makeprocesses}