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