diff options
author | Håkon Hallingstad <hakon@yahooinc.com> | 2021-12-01 12:18:17 +0100 |
---|---|---|
committer | Håkon Hallingstad <hakon@yahooinc.com> | 2021-12-01 12:18:17 +0100 |
commit | 2196529fdefa88bb1fdc6d676b9045d69c5373aa (patch) | |
tree | 7bbeffcbae38581a38b0609632fcb1f0632cf197 /dist | |
parent | 4beabbe33d1e04d0f21ecdd3ff3ad4c50ca5d1c2 (diff) |
Avoid copying unless just built
Diffstat (limited to 'dist')
-rw-r--r-- | dist/vespa.spec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/vespa.spec b/dist/vespa.spec index 71bf69e4396..d872a43eb3e 100644 --- a/dist/vespa.spec +++ b/dist/vespa.spec @@ -553,14 +553,14 @@ cp -r %{installdir} %{buildroot} %else make install DESTDIR=%{buildroot} cp client/go/bin/vespa %{buildroot}%{_prefix}/bin/vespa +mkdir -p %{buildroot}/usr/share +cp -a client/go/share/* %{buildroot}/usr/share %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 -mkdir -p %{buildroot}/usr/share -cp -a client/go/share/* %{buildroot}/usr/share %if %{_create_vespa_service} mkdir -p %{buildroot}/usr/lib/systemd/system |