!144 use vendor instead of openeuler in build require

From: @wonleing 
Reviewed-by: @liuqinfei 
Signed-off-by: @liuqinfei
This commit is contained in:
openeuler-ci-bot 2022-12-28 02:21:11 +00:00 committed by Gitee
commit 58cd3343c6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -125,7 +125,7 @@
################################################################################# #################################################################################
Name: ceph Name: ceph
Version: 16.2.7 Version: 16.2.7
Release: 11 Release: 12
%if 0%{?fedora} || 0%{?rhel} || 0%{?openEuler} %if 0%{?fedora} || 0%{?rhel} || 0%{?openEuler}
Epoch: 2 Epoch: 2
%endif %endif
@ -388,12 +388,7 @@ BuildRequires: libexpat-devel
BuildRequires: expat-devel BuildRequires: expat-devel
%endif %endif
#hardened-cc1 #hardened-cc1
%if 0%{?fedora} || 0%{?rhel} BuildRequires: %{_vendor}-rpm-config
BuildRequires: redhat-rpm-config
%endif
%if 0%{?openEuler}
BuildRequires: openEuler-rpm-config
%endif
%if 0%{with seastar} %if 0%{with seastar}
%if 0%{?fedora} || 0%{?rhel} || 0%{?openEuler} %if 0%{?fedora} || 0%{?rhel} || 0%{?openEuler}
BuildRequires: cryptopp-devel BuildRequires: cryptopp-devel
@ -2493,6 +2488,9 @@ exit 0
%config %{_sysconfdir}/prometheus/ceph/ceph_default_alerts.yml %config %{_sysconfdir}/prometheus/ceph/ceph_default_alerts.yml
%changelog %changelog
* Tue Dec 20 2022 wanglin <wangl29@chinatelecom.cn> - 2:16.2.7-12
- use vendor macro in buildrequire package
* Mon Dec 5 2022 wangzengliang <wangzengliang2@huawei.com> - 2:16.2.7-11 * Mon Dec 5 2022 wangzengliang <wangzengliang2@huawei.com> - 2:16.2.7-11
- fix CVE-2022-3650 - fix CVE-2022-3650