!77 Replace openEuler with vendor macro

From: @caodongxia 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2022-11-18 01:21:09 +00:00 committed by Gitee
commit 55a7d68072
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -50,10 +50,12 @@
%global _with_snmp --with-pmdasnmp=yes
%global vendor %{?_vendor:%{_vendor}}%{!?_vendor:openEuler}
Name: pcp
Version: 5.3.7
Summary: System-level performance monitoring and performance management
Release: 1
Release: 2
License: GPL-2.0-or-later and LGPL-2.0-or-later and CC-BY-SA-3.0
URL: https://pcp.io
Source0: https://github.com/performancecopilot/pcp/archive/refs/tags/%{version}.tar.gz
@ -183,7 +185,7 @@ Requires: pcp-pmda-libvirt pcp-pmda-lio pcp-pmda-openmetrics pcp-pmda-ha
Requires: pcp-pmda-lmsensors pcp-pmda-netcheck pcp-pmda-rabbitmq pcp-pmda-oracle
Requires: pcp-pmda-openvswitch pcp-pmda-mongodb pcp-pmda-snmp pcp-pmda-bind2
Requires: pcp-pmda-json pcp-pmda-summary pcp-pmda-trace pcp-pmda-weblog
Requires: pcp-system-tools pcp-gui openEuler-rpm-config bc gcc gzip bzip2
Requires: pcp-system-tools pcp-gui %{vendor}-rpm-config bc gcc gzip bzip2
Requires: selinux-policy-devel selinux-policy-targeted setools-console
%if !%{disable_bcc}
Requires: pcp-pmda-bcc
@ -1928,6 +1930,9 @@ systemctl condrestart pmproxy.service >/dev/null 2>&1
%changelog
* Thu Nov 17 2022 caodongxia <caodongxia@h-partners.com> - 5.3.7-2
- Replace openEuler with vendor macro
* Fri Oct 21 2022 wangkai <wangkai385@h-partners.com> - 5.3.7-1
- Update to 5.3.7