diff options
Diffstat (limited to 'dist/vespa.spec')
-rw-r--r-- | dist/vespa.spec | 4 |
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 |