Accepting request 842719 from home:yan_gao:branches:network:ha-clustering:Factory
- Update to version 2.0.4+20200702.813fdbfdc: - libcrmcommon: deprecate create_hello_message() as public API (bsc#1170346, rh#1796824) - pacemakerd: properly conditionalize corosync calls (bsc#1170346, rh#1796824) - pacemakerd: use existing handle for corosync shutdown (bsc#1170346, rh#1796824) - pacemakerd: improve messages (bsc#1170346, rh#1796824) - pacemakerd: functionize removing core file limit (bsc#1170346, rh#1796824) - pacemakerd: remove unneeded IPC and CPG commands (bsc#1170346, rh#1796824) - tools: crm_node -l and -p now work from Pacemaker Remote nodes (bsc#1170346, rh#1796824) - functionize numeric comparisons of strings (bsc#1170346, rh#1796824) - controller: add new IPC API command for getting node list (bsc#1170346, rh#1796824) - Update to version 2.0.4+20200701.556cef416: - tools: convert crmadmin to use new controller IPC model (bsc#1170346, rh#1796824) - tools: remove dead code from crm_node (bsc#1170346, rh#1796824) - tools: convert crm_node to use new controller IPC model (bsc#1170346, rh#1796824) - tools: convert crm_resource to use new controller IPC model (bsc#1170346, rh#1796824) - libcrmcommon: add C API for controller IPC (bsc#1170346, rh#1796824) - libcrmcommon: new model for daemon IPC API (bsc#1170346, rh#1796824) - Update to version 2.0.4+20200630.107af1896: - tools, libs: Use pcmk__str_any_of and pcmk__str_all_of. - libcrmcommon: Add pcmk__str_any_of and pcmk__str_none_of. - Update to version 2.0.4+20200624.67a6a9b31: - lib, tools: Correct types given to PCMK__OUTPUT_ARGS. - Update to version 2.0.4+20200623.e36fe309d: - sysconfig: remove outdated reference to wildcards in PCMK_trace_files - rpm: use https in package URL - resources: don't check host-specific conditions in attribute validate OBS-URL: https://build.opensuse.org/request/show/842719 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/pacemaker?expand=0&rev=341
This commit is contained in:
@@ -55,6 +55,8 @@
|
||||
|
||||
%define _rundir /run
|
||||
|
||||
%global hacluster_id 90
|
||||
|
||||
## Path to Python interpreter (leave commented to auto-detect,
|
||||
## or uncomment and edit to use a specific version)
|
||||
%global python_path /usr/bin/python%{python3_version}
|
||||
@@ -78,13 +80,13 @@
|
||||
%define with_regression_tests 0
|
||||
|
||||
Name: pacemaker
|
||||
Version: 2.0.4+20200616.2deceaa3a
|
||||
Version: 2.0.4+20200702.813fdbfdc
|
||||
Release: 0
|
||||
Summary: Scalable High-Availability cluster resource manager
|
||||
# AGPL-3.0 licensed extra/clustermon.sh is not present in the binary
|
||||
License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
|
||||
Group: Productivity/Clustering/HA
|
||||
Url: http://www.clusterlabs.org
|
||||
Url: https://www.clusterlabs.org/
|
||||
# Hint: use "spectool -s 0 pacemaker.spec" (rpmdevtools) to check the final URL:
|
||||
# https://github.com/ClusterLabs/pacemaker/archive/e91769e5a39f5cb2f7b097d3c612368f0530535e/pacemaker-e91769e.tar.gz
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
@@ -459,8 +461,8 @@ fi
|
||||
%service_del_postun crm_mon.service
|
||||
|
||||
%pre -n libpacemaker3
|
||||
getent group %{gname} >/dev/null || groupadd -r %{gname} -g 189
|
||||
getent passwd %{uname} >/dev/null || useradd -r -g %{gname} -u 189 -s /sbin/nologin -c "cluster user" %{uname}
|
||||
getent group %{gname} >/dev/null || groupadd -r %{gname} -g %{hacluster_id}
|
||||
getent passwd %{uname} >/dev/null || useradd -r -g %{gname} -u %{hacluster_id} -s /sbin/nologin -c "cluster user" %{uname}
|
||||
exit 0
|
||||
|
||||
%post -n libpacemaker3 -p /sbin/ldconfig
|
||||
|
Reference in New Issue
Block a user