Skip to content

Commit

Permalink
Merge pull request #33079 from vespa-engine/toregge/add-dependencies-…
Browse files Browse the repository at this point in the history
…for-centos-stream-10

Add dependencies for CentOS Stream 10.
  • Loading branch information
toregge authored Jan 6, 2025
2 parents 2620aab + b06ba9a commit e642800
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions dist/vespa.spec
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
%global _vespa_java_version 21
%endif
%endif
%if 0%{?el10}
%global _vespa_java_version 21
%endif
%if ! 0%{?_vespa_java_version:1}
%global _vespa_java_version 17
%endif
Expand Down Expand Up @@ -107,6 +110,11 @@ Requires: vespa-gtest = %{_vespa_gtest_version}
Requires: vespa-gtest = %{_vespa_gtest_version}
%endif

%if 0%{?el10}
%define _use_vespa_gtest 1
Requires: vespa-gtest = %{_vespa_gtest_version}
%endif

%if 0%{?amzn2023}
%define _java_home /usr/lib/jvm/java-17-amazon-corretto
%define _use_vespa_gtest 1
Expand All @@ -121,7 +129,7 @@ Requires: vespa-xxhash >= 0.8.1
Requires: gtest
%endif

%if ! 0%{?el9}
%if ! 0%{?el9} && ! 0%{?el10}
Requires: libcgroup-tools
%endif

Expand Down Expand Up @@ -175,7 +183,7 @@ Requires: vespa-re2 = 20210801
%else
Requires: re2
%endif
%if 0%{?fedora} || 0%{?el8} || 0%{?el9}
%if 0%{?el8} || 0%{?el9} || 0%{?el10} || 0%{?fedora}
Requires: glibc-langpack-en
%endif

Expand All @@ -194,18 +202,10 @@ Requires: vespa-openssl >= 3.1.7
%else
Requires: openssl-libs
%endif
%if 0%{?el8}
%if 0%{?el8} || 0%{?el9} || 0%{?el10} || 0%{?fedora}
Requires: llvm-libs
Requires: vespa-protobuf = %{_vespa_protobuf_version}
%endif
%if 0%{?el9}
Requires: llvm-libs
Requires: vespa-protobuf = %{_vespa_protobuf_version}
%endif
%if 0%{?fedora}
Requires: vespa-protobuf = %{_vespa_protobuf_version}
Requires: llvm-libs
%endif
Requires: vespa-onnxruntime = 1.20.1
Requires: vespa-jllama = %{_vespa_llama_version}
Requires: vespa-openblas >= %{_vespa_openblas_version}
Expand Down

0 comments on commit e642800

Please sign in to comment.