From 48795fe64cdc3176b14a1064132218b6704d1246 Mon Sep 17 00:00:00 2001 From: lijuzhang Date: Mon, 29 Apr 2024 07:03:27 +0000 Subject: [PATCH] Support for other distribution vendor Signed-off-by: lijuzhang (cherry picked from commit 890423ba44dc3ff58f209710001a695bf7d5767d) --- pcs.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pcs.spec b/pcs.spec index de666ea..f39f450 100644 --- a/pcs.spec +++ b/pcs.spec @@ -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 - 0.11.2-11 +- fix: Support for other distributions + * Thu Nov 23 2023 bixiaoyan - 0.11.2-10 - Fix serving static files