!79 use %{_vendor} instead of openeuler hardcode

From: @wonleing 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2022-12-23 06:37:26 +00:00 committed by Gitee
commit be98a2a811
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -53,7 +53,7 @@
Name: pcp Name: pcp
Version: 5.3.7 Version: 5.3.7
Summary: System-level performance monitoring and performance management 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 License: GPL-2.0-or-later and LGPL-2.0-or-later and CC-BY-SA-3.0
URL: https://pcp.io URL: https://pcp.io
Source0: https://github.com/performancecopilot/pcp/archive/refs/tags/5.3.7.tar.gz Source0: https://github.com/performancecopilot/pcp/archive/refs/tags/5.3.7.tar.gz
@ -183,7 +183,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-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-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-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 Requires: selinux-policy-devel selinux-policy-targeted setools-console
%if !%{disable_bcc} %if !%{disable_bcc}
Requires: pcp-pmda-bcc Requires: pcp-pmda-bcc
@ -1928,6 +1928,9 @@ systemctl condrestart pmproxy.service >/dev/null 2>&1
%changelog %changelog
* Thu Dec 22 2022 wanglin <wangl29@chinatelecom.cn> - 5.3.7-2
- Fix rpm-config hard code problem
* Tue Jul 26 2022 tianlijing <tianlijing@kylinos.cn> - 5.3.7-1 * Tue Jul 26 2022 tianlijing <tianlijing@kylinos.cn> - 5.3.7-1
- Update to 5.3.7 - Update to 5.3.7