aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorHåkon Hallingstad <hakon@yahooinc.com>2021-11-22 23:28:33 +0100
committerHåkon Hallingstad <hakon@yahooinc.com>2021-11-22 23:28:33 +0100
commit917a5f595505d612591808899b09788be728f3c1 (patch)
tree06d896ac2ff35b6d7950fac179dd067d8611d95d /dist
parent7226465dfa8487cd507df1246b061f6a34283691 (diff)
Make client/go/bin/vespa for vespa-clients RPM
Diffstat (limited to 'dist')
-rw-r--r--dist/vespa.spec6
1 files changed, 6 insertions, 0 deletions
diff --git a/dist/vespa.spec b/dist/vespa.spec
index bfb4c14bdeb..e09866fc749 100644
--- a/dist/vespa.spec
+++ b/dist/vespa.spec
@@ -6,6 +6,10 @@
# 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.
+%global _missing_build_ids_terminate_build 0
+
# Force special prefix for Vespa
%define _prefix /opt/vespa
%define _vespa_deps_prefix /opt/vespa-deps
@@ -53,6 +57,7 @@ BuildRequires: rh-maven35
%define _rhmaven35_enable /opt/rh/rh-maven35/enable
BuildRequires: python36-pytest
%endif
+BuildRequires: golang >= 1.15
BuildRequires: vespa-pybind11-devel
BuildRequires: python3-devel
%endif
@@ -764,6 +769,7 @@ fi
%dir %{_prefix}/conf/vespa-feed-client
%dir %{_prefix}/lib
%dir %{_prefix}/lib/jars
+%{_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