Add /sbin/ldconfig to post and postun

(cherry picked from commit eae165f4bfd82b218e94c5b38ac6c78c7a148001)
This commit is contained in:
starlet-dx 2022-12-09 16:25:25 +08:00 committed by openeuler-sync-bot
parent 5481f3ba5e
commit b7e8f37d6c

View File

@ -20,7 +20,7 @@
Name: kronosnet
Summary: Multipoint-to-Multipoint VPN daemon
Version: 1.20
Release: 2
Release: 3
License: GPLv2+ and LGPLv2+
URL: https://kronosnet.org
Source0: https://kronosnet.org/releases/%{name}-%{version}.tar.gz
@ -180,9 +180,13 @@ Requires: pam, /etc/pam.d/passwd
or service disruption.
%post -n kronosnetd
/sbin/ldconfig
%systemd_post kronosnetd.service
getent group kronosnetadm >/dev/null || groupadd --force --system kronosnetadm
%postun -n kronosnetd
/sbin/ldconfig
%preun -n kronosnetd
%systemd_preun kronosnetd.service
@ -441,6 +445,9 @@ Requires: libknet1%{_isa} = %{version}-%{release}
%endif
%changelog
* Fri Dec 09 2022 yaoxin <yaoxin30@h-partners.com> - 1.20-3
- Add /sbin/ldconfig to post and postun
* Tue Aug 23 2022 yaoxin <yaoxin30@h-partners.com> - 1.20-2
- Remove rpath