From e102620394a5d889e42616278de73dfb3b01f625 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 --- ceph.spec.in | 1 + debian/control | 1 + 2 files changed, 2 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index b704da2a31f97..ca00935dd8259 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -342,6 +342,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 1ae4f171c6e7c..8eb011c006b14 100644 --- a/debian/control +++ b/debian/control @@ -18,6 +18,7 @@ Build-Depends: automake, dh-python, flex , git, + golang, gperf, g++ (>= 7), hostname , -- 2.39.5