From: Nizamudeen A Date: Sun, 12 Apr 2026 06:06:30 +0000 (+0530) Subject: ceph.spec.in: replace golang github prometheus with promtool binary path X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F68336%2Fhead;p=ceph.git ceph.spec.in: replace golang github prometheus with promtool binary path i don't see golang-github-prometheus available for centos anymore and other distro's as well. And different package provides the promtool in different distro's so instead of identifying all the corresponding packages and its name, replacing the package name with binary path so it works across distros without distro specific conditions Some build failures are captured in our internal runs recently https://github.com/rhcs-dashboard/ceph-dev/actions/runs/24298848427/job/70949666821 Signed-off-by: Nizamudeen A --- diff --git a/ceph.spec.in b/ceph.spec.in index d4cabb21cfb9..aa7b73eb2813 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -437,7 +437,7 @@ BuildRequires: lz4-devel >= 1.7 %if 0%{with make_check} BuildRequires: golang %if 0%{?fedora} || 0%{?rhel} || 0%{?openEuler} -BuildRequires: golang-github-prometheus +BuildRequires: /usr/bin/promtool BuildRequires: libtool-ltdl-devel BuildRequires: xmlsec1 BuildRequires: xmlsec1-devel