]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
spec: debian: add golang as build dependency
authorArthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Mon, 29 Nov 2021 08:38:57 +0000 (09:38 +0100)
committerArthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Thu, 3 Feb 2022 08:49:55 +0000 (09:49 +0100)
Add golang as a build dependency to build golang project in the test
for monitoring/ceph-mixin.

Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
ceph.spec.in
debian/control

index b704da2a31f97af5ef1064c21aee83b960e8ada5..ca00935dd8259e6cc845d78a41f8ada9e48f1974 100644 (file)
@@ -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
index 1ae4f171c6e7c048a41e0b168e581d24f567715f..8eb011c006b14ade5c575b50090603a49bbc3f4e 100644 (file)
@@ -18,6 +18,7 @@ Build-Depends: automake,
                dh-python,
                flex  <pkg.ceph.jaeger>,
                git,
+               golang,
                gperf,
                g++ (>= 7),
                hostname <pkg.ceph.check>,