diff options
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 122c54561ec..1416109ab40 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 |