From d9c5358206a72295545252c6a0527db1b47aa559 Mon Sep 17 00:00:00 2001 From: Nizamudeen A Date: Sun, 12 Apr 2026 11:36:30 +0530 Subject: [PATCH] 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 --- ceph.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3