add vendor macros

(cherry picked from commit 97ca9e194bd3c40f4f6fe7de900d7a78d988ab57)
This commit is contained in:
yueyuankun 2024-04-22 21:01:42 +08:00 committed by openeuler-sync-bot
parent c88f491e9d
commit 80bf3648fb

View File

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