!16 [sync] PR-15: Add /sbin/ldconfig to post and postun

From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-12-09 09:21:53 +00:00 committed by Gitee
commit 6bde77bf62
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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