!77 fix: Support for other distributions

From: @lijuzhang 
Reviewed-by: @xiangbudaomz 
Signed-off-by: @xiangbudaomz
This commit is contained in:
openeuler-ci-bot 2024-04-29 08:18:36 +00:00 committed by Gitee
commit 30f13f34f1
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