From bad9faa1508863ce45d4587583ab969f9bc73f07 Mon Sep 17 00:00:00 2001 From: Wang Lin Date: Tue, 20 Dec 2022 14:53:38 +0800 Subject: [PATCH] use vendor in buildrequire package --- ceph.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/ceph.spec b/ceph.spec index 22677dc..031c342 100644 --- a/ceph.spec +++ b/ceph.spec @@ -125,7 +125,7 @@ ################################################################################# Name: ceph Version: 16.2.7 -Release: 11 +Release: 12 %if 0%{?fedora} || 0%{?rhel} || 0%{?openEuler} Epoch: 2 %endif @@ -388,12 +388,7 @@ BuildRequires: libexpat-devel BuildRequires: expat-devel %endif #hardened-cc1 -%if 0%{?fedora} || 0%{?rhel} -BuildRequires: redhat-rpm-config -%endif -%if 0%{?openEuler} -BuildRequires: openEuler-rpm-config -%endif +BuildRequires: ${_vendor}-rpm-config %if 0%{with seastar} %if 0%{?fedora} || 0%{?rhel} || 0%{?openEuler} BuildRequires: cryptopp-devel @@ -2493,6 +2488,9 @@ exit 0 %config %{_sysconfdir}/prometheus/ceph/ceph_default_alerts.yml %changelog +* Tue Dec 20 2022 wanglin - 2:16.2.7-12 +- user {_vendor} in buildrequire package + * Mon Dec 5 2022 wangzengliang - 2:16.2.7-11 - fix CVE-2022-3650