summaryrefslogtreecommitdiffstats
path: root/dist/vespa.spec
diff options
context:
space:
mode:
Diffstat (limited to 'dist/vespa.spec')
-rw-r--r--dist/vespa.spec11
1 files changed, 7 insertions, 4 deletions
diff --git a/dist/vespa.spec b/dist/vespa.spec
index 8620a26d945..999451314b8 100644
--- a/dist/vespa.spec
+++ b/dist/vespa.spec
@@ -6,6 +6,11 @@
# Only strip debug info
%global _find_debuginfo_opts -g
+# Go binaries' build-ids are not recognized by RPMs yet, see
+# https://github.com/rpm-software-management/rpm/issues/367 and
+# https://github.com/tpokorra/lbs-mono-fedora/issues/3#issuecomment-219857688.
+%undefine _missing_build_ids_terminate_build
+
# Force special prefix for Vespa
%define _prefix /opt/vespa
%define _vespa_deps_prefix /opt/vespa-deps
@@ -547,8 +552,7 @@ rm -rf %{buildroot}
cp -r %{installdir} %{buildroot}
%else
make install DESTDIR=%{buildroot}
-# TODO: Include the vespa program
-#cp client/go/bin/vespa %{buildroot}%{_prefix}/bin/vespa
+cp client/go/bin/vespa %{buildroot}%{_prefix}/bin/vespa
%endif
%if %{_create_vespa_service}
@@ -766,8 +770,7 @@ fi
%dir %{_prefix}/conf/vespa-feed-client
%dir %{_prefix}/lib
%dir %{_prefix}/lib/jars
-# TODO: Include the vespa program
-#%{_prefix}/bin/vespa
+%{_prefix}/bin/vespa
%{_prefix}/bin/vespa-feed-client
%{_prefix}/conf/vespa-feed-client/logging.properties
%{_prefix}/lib/jars/vespa-http-client-jar-with-dependencies.jar