* Wed Nov 18 2020 Klaus Wenninger <kwenning@redhat.com> - 2.0.5-0.7.rc3
- a little more syncing with upstream spec-file
This commit is contained in:
parent
b8f03333b1
commit
fecb07e0d0
@ -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,7 +19,7 @@
|
|||||||
## 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 6
|
%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
|
||||||
@ -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,9 @@ 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
|
* 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
|
- Update for new upstream tarball for release candidate: Pacemaker-2.0.5-rc3
|
||||||
for full details, see included ChangeLog file or
|
for full details, see included ChangeLog file or
|
||||||
|
Loading…
Reference in New Issue
Block a user