Support for other distribution vendor

Signed-off-by: lijuzhang <lijuzhang@inspur.com>
(cherry picked from commit 890423ba44dc3ff58f209710001a695bf7d5767d)
This commit is contained in:
lijuzhang 2024-04-29 07:03:27 +00:00 committed by openeuler-sync-bot
parent 3f4bce6e1e
commit 48795fe64c

View File

@ -1,6 +1,6 @@
Name: pcs
Version: 0.11.2
Release: 10
Release: 11
License: GPLv2 and BSD-2-Clause and ASL 2.0 and MIT
URL: https://github.com/ClusterLabs/pcs
Summary: Pacemaker Configuration System
@ -187,6 +187,9 @@ SNMP agent that provides information about pacemaker cluster to the master agent
%prep
%if "%{_vendor}" != "openEuler"
sed -i 's/openEuler/%{_vendor}/g' %{PATCH3}
%endif
# -- following is inspired by python-simplejon.el5 --
# Update timestamps on the files touched by a patch, to avoid non-equal
# .pyc/.pyo files across the multilib peers within a build
@ -412,6 +415,9 @@ run_all_tests
%license pyagentx_LICENSE.txt
%changelog
* Mon Apr 29 2024 lijuzhang <lijuzhang@inspur.com> - 0.11.2-11
- fix: Support for other distributions
* Thu Nov 23 2023 bixiaoyan <bixiaoyan@kylinos.cn> - 0.11.2-10
- Fix serving static files