Fix a typo in the rpm scriptlets (missing underscore)

This commit is contained in:
Mattias Ellert 2020-07-16 11:54:45 +02:00
commit cd3916b72b

View file

@ -32,7 +32,7 @@
Name: xrootd
Epoch: 1
Version: 4.12.3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Extended ROOT file server
License: LGPLv3+
@ -463,7 +463,7 @@ fi
%preun server
if [ $1 -eq 0 ] ; then
for DAEMON in xrootd cmsd frm_purged frm xfrd; do
for DAEMON in xrootd cmsd frm_purged frm_xfrd; do
for INSTANCE in `systemctl | grep $DAEMON@ | awk '{print $1;}'`; do
systemctl --no-reload disable $INSTANCE > /dev/null 2>&1 || :
systemctl stop $INSTANCE > /dev/null 2>&1 || :
@ -474,7 +474,7 @@ fi
%postun server
if [ $1 -ge 1 ] ; then
systemctl daemon-reload >/dev/null 2>&1 || :
for DAEMON in xrootd cmsd frm_purged frm xfrd; do
for DAEMON in xrootd cmsd frm_purged frm_xfrd; do
for INSTANCE in `systemctl | grep $DAEMON@ | awk '{print $1;}'`; do
systemctl try-restart $INSTANCE >/dev/null 2>&1 || :
done
@ -729,6 +729,9 @@ fi
%doc %{_pkgdocdir}
%changelog
* Thu Jul 16 2020 Mattias Ellert <mattias.ellert@physics.uu.se> - 1:4.12.3-2
- Fix a typo in the rpm scriptlets (missing underscore)
* Mon Jul 13 2020 Mattias Ellert <mattias.ellert@physics.uu.se> - 1:4.12.3-1
- Update to version 4.12.3 (no code changes w.r.t. 4.12.2)
- Backport XrdVoms fixes from upstream git