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: v17.1.0~17^2~15 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9b4f43fde530a4a2ef3940bf6f44e4e504ace13d;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 b704da2a31f9..ca00935dd825 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 1ae4f171c6e7..8eb011c006b1 100644 --- a/debian/control +++ b/debian/control @@ -18,6 +18,7 @@ Build-Depends: automake, dh-python, flex , git, + golang, gperf, g++ (>= 7), hostname ,