!83 [sync] PR-77: fix: Support for other distributions

From: @openeuler-sync-bot 
Reviewed-by: @jxy_git 
Signed-off-by: @jxy_git
This commit is contained in:
openeuler-ci-bot 2024-06-04 09:35:00 +00:00 committed by Gitee
commit ebf515f1b6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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