RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/pacemaker#fecb07e0d0e09f1a5056fd1cef3962745cc18b1d
This commit is contained in:
parent
b318f17823
commit
ef5356e104
@ -3,6 +3,7 @@
|
|||||||
## User and group to use for nonprivileged services
|
## User and group to use for nonprivileged services
|
||||||
%global uname hacluster
|
%global uname hacluster
|
||||||
%global gname haclient
|
%global gname haclient
|
||||||
|
%global hacluster_id 189
|
||||||
|
|
||||||
## Where to install Pacemaker documentation
|
## Where to install Pacemaker documentation
|
||||||
%if 0%{?rhel}
|
%if 0%{?rhel}
|
||||||
@ -18,11 +19,11 @@
|
|||||||
## can be incremented to build packages reliably considered "newer"
|
## can be incremented to build packages reliably considered "newer"
|
||||||
## than previously built packages with the same pcmkversion)
|
## than previously built packages with the same pcmkversion)
|
||||||
%global pcmkversion 2.0.5
|
%global pcmkversion 2.0.5
|
||||||
%global specversion 5
|
%global specversion 7
|
||||||
|
|
||||||
## Upstream commit (or git tag, such as "Pacemaker-" plus the
|
## Upstream commit (or git tag, such as "Pacemaker-" plus the
|
||||||
## {pcmkversion} macro for an official release) to use for this package
|
## {pcmkversion} macro for an official release) to use for this package
|
||||||
%global commit Pacemaker-2.0.5-rc2
|
%global commit Pacemaker-2.0.5-rc3
|
||||||
## Since git v2.11, the extent of abbreviation is autoscaled by default
|
## Since git v2.11, the extent of abbreviation is autoscaled by default
|
||||||
## (used to be constant of 7), so we need to convey it for non-tags, too.
|
## (used to be constant of 7), so we need to convey it for non-tags, too.
|
||||||
%global commit_abbrev 9
|
%global commit_abbrev 9
|
||||||
@ -176,7 +177,7 @@ BuildRequires: help2man gnutls-devel pam-devel pkgconfig(dbus-1)
|
|||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
|
|
||||||
Requires: corosync >= 2.0.0
|
Requires: corosync >= 2.0.0
|
||||||
BuildRequires: corosynclib-devel >= 2.0.0
|
BuildRequires: corosync-devel >= 2.0.0
|
||||||
#XXX
|
#XXX
|
||||||
#BuildRequires: pkgconfig(libcpg)
|
#BuildRequires: pkgconfig(libcpg)
|
||||||
#BuildRequires: pkgconfig(libcfg)
|
#BuildRequires: pkgconfig(libcfg)
|
||||||
@ -287,7 +288,7 @@ Requires: libtool-ltdl-devel%{?_isa} libuuid-devel%{?_isa}
|
|||||||
Requires: libxml2-devel%{?_isa} libxslt-devel%{?_isa}
|
Requires: libxml2-devel%{?_isa} libxslt-devel%{?_isa}
|
||||||
Requires: bzip2-devel%{?_isa} glib2-devel%{?_isa}
|
Requires: bzip2-devel%{?_isa} glib2-devel%{?_isa}
|
||||||
Requires: libqb-devel%{?_isa}
|
Requires: libqb-devel%{?_isa}
|
||||||
Requires: corosynclib-devel%{?_isa} >= 2.0.0
|
Requires: corosync-devel%{?_isa} >= 2.0.0
|
||||||
|
|
||||||
%description libs-devel
|
%description libs-devel
|
||||||
Pacemaker is an advanced, scalable High-Availability cluster resource
|
Pacemaker is an advanced, scalable High-Availability cluster resource
|
||||||
@ -508,7 +509,7 @@ fi
|
|||||||
|
|
||||||
%post cli
|
%post cli
|
||||||
%systemd_post crm_mon.service
|
%systemd_post crm_mon.service
|
||||||
if [ "$1" = 2 ]; then
|
if [ "$1" -eq 2 ]; then
|
||||||
# Package upgrade, not initial install:
|
# Package upgrade, not initial install:
|
||||||
# Move any pre-2.0 logs to new location to ensure they get rotated
|
# Move any pre-2.0 logs to new location to ensure they get rotated
|
||||||
{ mv -fbS.rpmsave %{_var}/log/pacemaker.log* %{_var}/log/pacemaker \
|
{ mv -fbS.rpmsave %{_var}/log/pacemaker.log* %{_var}/log/pacemaker \
|
||||||
@ -526,8 +527,8 @@ fi
|
|||||||
# XXX keep an eye on https://fedoraproject.org/wiki/Changes/SystemdSysusers
|
# XXX keep an eye on https://fedoraproject.org/wiki/Changes/SystemdSysusers
|
||||||
# reopened recently:
|
# reopened recently:
|
||||||
# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/AETGESYR4IEQJMA6SKL7OERSDZFWFNEU/
|
# https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/AETGESYR4IEQJMA6SKL7OERSDZFWFNEU/
|
||||||
getent group %{gname} >/dev/null || groupadd -r %{gname} -g 189
|
getent group %{gname} >/dev/null || groupadd -r %{gname} -g %{hacluster_id}
|
||||||
getent passwd %{uname} >/dev/null || useradd -r -g %{gname} -u 189 -s /sbin/nologin -c "cluster user" %{uname}
|
getent passwd %{uname} >/dev/null || useradd -r -g %{gname} -u %{hacluster_id} -s /sbin/nologin -c "cluster user" %{uname}
|
||||||
exit 0
|
exit 0
|
||||||
|
|
||||||
%ldconfig_scriptlets libs
|
%ldconfig_scriptlets libs
|
||||||
@ -716,6 +717,14 @@ exit 0
|
|||||||
%license %{nagios_name}-%{nagios_hash}/COPYING
|
%license %{nagios_name}-%{nagios_hash}/COPYING
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 18 2020 Klaus Wenninger <kwenning@redhat.com> - 2.0.5-0.7.rc3
|
||||||
|
- a little more syncing with upstream spec-file
|
||||||
|
|
||||||
|
* Tue Nov 17 2020 Klaus Wenninger <kwenning@redhat.com> - 2.0.5-0.6.rc3
|
||||||
|
- Update for new upstream tarball for release candidate: Pacemaker-2.0.5-rc3
|
||||||
|
for full details, see included ChangeLog file or
|
||||||
|
https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-2.0.5-rc3
|
||||||
|
- Corosync in Fedora now provides corosync-devel as well in isa-flavor
|
||||||
|
|
||||||
* Sun Nov 1 2020 Klaus Wenninger <kwenning@redhat.com> - 2.0.5-0.5.rc2
|
* Sun Nov 1 2020 Klaus Wenninger <kwenning@redhat.com> - 2.0.5-0.5.rc2
|
||||||
- remove no more working dist.rpmdeplint from gating
|
- remove no more working dist.rpmdeplint from gating
|
||||||
|
2
sources
2
sources
@ -1,2 +1,2 @@
|
|||||||
SHA512 (nagios-agents-metadata-105ab8a7b2c16b9a29cf1c1596b80136eeef332b.tar.gz) = 11ddeb48a4929e7642b6dfa9c7962aa1d7a1af1c569830f55ed6cd6773abac13377317327bc1db8411c8077884f83f81cc54d746c834b63a99fa6dc219b5caad
|
SHA512 (nagios-agents-metadata-105ab8a7b2c16b9a29cf1c1596b80136eeef332b.tar.gz) = 11ddeb48a4929e7642b6dfa9c7962aa1d7a1af1c569830f55ed6cd6773abac13377317327bc1db8411c8077884f83f81cc54d746c834b63a99fa6dc219b5caad
|
||||||
SHA512 (pacemaker-Pacemaker-2.0.5-rc2.tar.gz) = 67fe1ca539f4a690c8b9860c9b82679d77a77294ee9278c384b68099f788ba4db4d2c35bf34d1340daa6d3bac7aae550ef06527046da601a7bde30b78ee110a7
|
SHA512 (pacemaker-Pacemaker-2.0.5-rc3.tar.gz) = adf558d80d93ee7944b8e9eb5d07304e374ee61a4d81159daa9c6a9108ee77294e109766c21ed6f6eef2847ebc67d98925b8c63ff49bba958058bb7ef68d0f07
|
||||||
|
Loading…
Reference in New Issue
Block a user