!159 move postun to correct position

From: @yangmingtaip
Reviewed-by: @openeuler-basic
Signed-off-by: @openeuler-basic
This commit is contained in:
openeuler-ci-bot 2021-09-06 07:17:38 +00:00 committed by Gitee
commit 6ea3c2cb9d

View File

@ -20,7 +20,7 @@
Name: systemd
Url: https://www.freedesktop.org/wiki/Software/systemd
Version: 248
Release: 11
Release: 12
License: MIT and LGPLv2+ and GPLv2+
Summary: System and Service Manager
@ -557,8 +557,6 @@ systemctl daemon-reexec &>/dev/null || :
journalctl --update-catalog &>/dev/null || :
systemd-tmpfiles --create &>/dev/null || :
%postun
/sbin/ldconfig
# Make sure new journal files will be owned by the "systemd-journal" group
machine_id=$(cat /etc/machine-id 2>/dev/null)
@ -578,6 +576,9 @@ if [ $1 -eq 1 ] ; then
systemctl preset-all &>/dev/null || :
fi
%postun
/sbin/ldconfig
%post libs
%{?ldconfig}
@ -1550,6 +1551,9 @@ fi
%exclude /usr/share/man/man3/*
%changelog
* Mon Sep 6 2021 yangmingtai <yangmingtai@huawei.com> - 248-12
- move postun to correct position
* Sat Sep 4 2021 yangmingtai <yangmingtai@huawei.com> - 248-11
- systemd delete rpath