use vendor in buildrequire package

This commit is contained in:
Wang Lin 2022-12-20 14:53:38 +08:00
parent 52e4194781
commit bad9faa150

View File

@ -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 <wangl29@chinatelecom.cn> - 2:16.2.7-12
- user {_vendor} in buildrequire package
* Mon Dec 5 2022 wangzengliang <wangzengliang2@huawei.com> - 2:16.2.7-11
- fix CVE-2022-3650