diff options
author | Håkon Hallingstad <hakon@yahooinc.com> | 2021-11-30 13:32:38 +0100 |
---|---|---|
committer | Håkon Hallingstad <hakon@yahooinc.com> | 2021-11-30 13:32:38 +0100 |
commit | 6d93c95476bad6662be68d848998954401a556b1 (patch) | |
tree | a79b2667787f34989c17a0218a128b1b0cb43e9f /dist | |
parent | 6f7ad78da018a6056c3b94bc4fa77385b125a913 (diff) |
Strip in vespa.spec instead
Diffstat (limited to 'dist')
-rw-r--r-- | dist/vespa.spec | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/vespa.spec b/dist/vespa.spec index e53444c9d13..83b80c2cbc0 100644 --- a/dist/vespa.spec +++ b/dist/vespa.spec @@ -554,6 +554,11 @@ cp -r %{installdir} %{buildroot} make install DESTDIR=%{buildroot} cp client/go/bin/vespa %{buildroot}%{_prefix}/bin/vespa %endif +# Otherwise installation may fail for find-debuginfo.sh/dwz: +# dwz: dwz.c:9899: read_dwarf: Assertion `data != ((void *)0) && data->d_buf != ((void *)0)' failed. +%if 0%{?el7} +strip %{buildroot}%{_prefix}/bin/vespa +%endif %if %{_create_vespa_service} mkdir -p %{buildroot}/usr/lib/systemd/system |