summaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@verizonmedia.com>2021-05-02 02:59:53 +0200
committerTor Egge <Tor.Egge@verizonmedia.com>2021-05-02 02:59:53 +0200
commit4c53b79d7e94222c84398b491feb6f304549d8ff (patch)
tree211d05518a98bb9449204e8c5298e95b69cefa9a /dist
parentbe4f9977dac3f38316c2c65c6d468343d868d8ea (diff)
Exclude more automated requires on Amazon Linux 2.
Diffstat (limited to 'dist')
-rw-r--r--dist/vespa.spec4
1 files changed, 4 insertions, 0 deletions
diff --git a/dist/vespa.spec b/dist/vespa.spec
index 01a82793c64..ff9f56e0b07 100644
--- a/dist/vespa.spec
+++ b/dist/vespa.spec
@@ -302,7 +302,11 @@ Requires: %{name}-tools = %{version}-%{release}
# Ugly workaround because vespamalloc/src/vespamalloc/malloc/mmap.cpp uses the private
# _dl_sym function. Exclude automated reqires for libraries in /opt/vespa-deps/lib64.
+%if 0%{?amzn2:1}
+%global __requires_exclude ^lib(c\\.so\\.6\\(GLIBC_PRIVATE\\)|pthread\\.so\\.0\\(GLIBC_PRIVATE\\)|(crypto|icui18n|icuuc|lz4|protobuf|ssl|zstd|onnxruntime|openblas|re2|xxhash)\\.so\\.[0-9.]*\\([A-Z._0-9]*\\))\\(64bit\\)$
+%else
%global __requires_exclude ^lib(c\\.so\\.6\\(GLIBC_PRIVATE\\)|pthread\\.so\\.0\\(GLIBC_PRIVATE\\)|(crypto|icui18n|icuuc|lz4|protobuf|ssl|zstd|onnxruntime)\\.so\\.[0-9.]*\\([A-Z._0-9]*\\))\\(64bit\\)$
+%endif
%description