!105 [sync] PR-104: 添加vendor宏定义,尽量不使用硬编码,方便后续统一管理

From: @openeuler-sync-bot 
Reviewed-by: @wk333 
Signed-off-by: @wk333
This commit is contained in:
openeuler-ci-bot 2024-04-23 01:07:54 +00:00 committed by Gitee
commit 1b6708a4f0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,8 @@
%global vendor %{?_vendor:%{_vendor}}%{!?_vendor:openEuler}
Name: pcp
Version: 6.1.1
Release: 4
Release: 5
Summary: System-level performance monitoring and performance management
License: GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0
URL: https://pcp.io
@ -417,7 +419,7 @@ Requires: pcp-system-tools
Requires: pcp-gui
%endif
Requires: bc gcc gzip bzip2
Requires: openEuler-rpm-config
Requires: %{vendor}-rpm-config
%if !%{disable_selinux}
Requires: selinux-policy-devel
Requires: selinux-policy-targeted
@ -3104,6 +3106,9 @@ fi
%changelog
* Mon Apr 22 2024 yueyuankun <yueyuankun@kylinos.cn> - 6.1.1-5
- modify spec, add vendor
* Mon Apr 08 2024 Ge Wang <wang__ge@126.com> - 6.1.1-4
- Remove debug info in so library