]> git-server-git.apps.pok.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)
committerAashish Sharma <aasharma@redhat.com>
Tue, 26 Apr 2022 04:33:51 +0000 (10:03 +0530)
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>
(cherry picked from commit e102620394a5d889e42616278de73dfb3b01f625)

ceph.spec.in
debian/control

index 14b03314931fed3145acea2fd8d8dcacc6882bbb..ca97722d4467e2f40bb7b507375ab0c4303b75c0 100644 (file)
@@ -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
index cb31919afa7cb5a715d5be4565b42d193df61fa7..82c2094082d8c25ac79f10d5338a14b48a8039c9 100644 (file)
@@ -19,6 +19,7 @@ Build-Depends: automake,
                dh-python,
 # Jaeger       flex,
                git,
+               golang,
                gperf,
                g++ (>= 7),
                javahelper,