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=68964f586ea7de6bf60d94e91857f8aeb0c4862a;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 (cherry picked from commit d9c5358206a72295545252c6a0527db1b47aa559) --- diff --git a/ceph.spec.in b/ceph.spec.in index 07680708494d..4e6dd7cc5621 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -435,7 +435,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