Support for other distribution vendor
Signed-off-by: lijuzhang <lijuzhang@inspur.com> (cherry picked from commit 890423ba44dc3ff58f209710001a695bf7d5767d)
This commit is contained in:
parent
3f4bce6e1e
commit
48795fe64c
8
pcs.spec
8
pcs.spec
@ -1,6 +1,6 @@
|
|||||||
Name: pcs
|
Name: pcs
|
||||||
Version: 0.11.2
|
Version: 0.11.2
|
||||||
Release: 10
|
Release: 11
|
||||||
License: GPLv2 and BSD-2-Clause and ASL 2.0 and MIT
|
License: GPLv2 and BSD-2-Clause and ASL 2.0 and MIT
|
||||||
URL: https://github.com/ClusterLabs/pcs
|
URL: https://github.com/ClusterLabs/pcs
|
||||||
Summary: Pacemaker Configuration System
|
Summary: Pacemaker Configuration System
|
||||||
@ -187,6 +187,9 @@ SNMP agent that provides information about pacemaker cluster to the master agent
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
|
%if "%{_vendor}" != "openEuler"
|
||||||
|
sed -i 's/openEuler/%{_vendor}/g' %{PATCH3}
|
||||||
|
%endif
|
||||||
# -- following is inspired by python-simplejon.el5 --
|
# -- following is inspired by python-simplejon.el5 --
|
||||||
# Update timestamps on the files touched by a patch, to avoid non-equal
|
# Update timestamps on the files touched by a patch, to avoid non-equal
|
||||||
# .pyc/.pyo files across the multilib peers within a build
|
# .pyc/.pyo files across the multilib peers within a build
|
||||||
@ -412,6 +415,9 @@ run_all_tests
|
|||||||
%license pyagentx_LICENSE.txt
|
%license pyagentx_LICENSE.txt
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Nov 23 2023 bixiaoyan <bixiaoyan@kylinos.cn> - 0.11.2-10
|
||||||
- Fix serving static files
|
- Fix serving static files
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user