From: Arthur Outhenin-Chalandre Date: Mon, 29 Nov 2021 08:38:57 +0000 (+0100) Subject: spec: debian: add golang as build dependency X-Git-Tag: v16.2.8~6^2~12 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c35512ac06579dcdffd6eb1ffb0695298be856dd;p=ceph.git 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) --- 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,