From c35512ac06579dcdffd6eb1ffb0695298be856dd Mon Sep 17 00:00:00 2001 From: Arthur Outhenin-Chalandre Date: Mon, 29 Nov 2021 09:38:57 +0100 Subject: [PATCH] spec: debian: add golang as build dependency Add golang as a build dependency to build golang project in the test for monitoring/ceph-mixin. Signed-off-by: Arthur Outhenin-Chalandre (cherry picked from commit e102620394a5d889e42616278de73dfb3b01f625) --- ceph.spec.in | 1 + debian/control | 1 + 2 files changed, 2 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index 14b03314931f..ca97722d4467 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -325,6 +325,7 @@ BuildRequires: lz4-devel >= 1.7 %endif # distro-conditional make check dependencies %if 0%{with make_check} +BuildRequires: golang %if 0%{?fedora} || 0%{?rhel} BuildRequires: golang-github-prometheus BuildRequires: jsonnet diff --git a/debian/control b/debian/control index cb31919afa7c..82c2094082d8 100644 --- a/debian/control +++ b/debian/control @@ -19,6 +19,7 @@ Build-Depends: automake, dh-python, # Jaeger flex, git, + golang, gperf, g++ (>= 7), javahelper, -- 2.47.3