aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
Diffstat (limited to 'dist')
-rw-r--r--dist/vespa.spec5
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