]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rpm, debian: Add hostname as a "make check" dependency 43291/head
authorBrad Hubbard <bhubbard@redhat.com>
Fri, 24 Sep 2021 02:15:53 +0000 (12:15 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Mon, 27 Sep 2021 01:03:55 +0000 (11:03 +1000)
test_hostname.cc depends on the hostname binary.

Fixes: https://tracker.ceph.com/issues/52695
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
ceph.spec.in
debian/control

index 3827d7bb094f93ad01019d42e32b30732164b27b..6fc47932abe5fa5c58c55358e9c60c9bcc595c2c 100644 (file)
@@ -245,6 +245,7 @@ BuildRequires:  librdkafka-devel
 BuildRequires:  %{luarocks_package_name}
 %endif
 %if 0%{with make_check}
+BuildRequires:  hostname
 BuildRequires:  jq
 BuildRequires: libuuid-devel
 BuildRequires: python%{python3_pkgversion}-bcrypt
index 09011acb4fa0b9e14ae005b0894f432ddb35a003..c3c84c9b4ceb9c00314739478c9e20ff9fc67588 100644 (file)
@@ -20,6 +20,7 @@ Build-Depends: automake,
                git,
                gperf,
                g++ (>= 7),
+               hostname <pkg.ceph.check>,
                javahelper,
                jq <pkg.ceph.check>,
                jsonnet <pkg.ceph.check>,