!424 修复找不到libsystemd-shared-253.so和libsystemd-core-253.so的问题

From: @huyubiao 
Reviewed-by: @openeuler-basic 
Signed-off-by: @openeuler-basic
This commit is contained in:
openeuler-ci-bot 2023-07-29 09:41:48 +00:00 committed by Gitee
commit bc7de937df
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -21,7 +21,7 @@
Name: systemd
Url: https://www.freedesktop.org/wiki/Software/systemd
Version: 253
Release: 1
Release: 2
License: MIT and LGPLv2+ and GPLv2+
Summary: System and Service Manager
@ -420,9 +420,9 @@ do
fi
fi
done
# add rpath path /usr/lib/systemd in ld.so.conf.d
# add rpath path /usr/lib64/systemd in ld.so.conf.d
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
echo "/usr/lib/systemd" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
echo "/usr/lib64/systemd" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
%check
%ifnarch loongarch64
@ -905,8 +905,8 @@ fi
%dir %{_systemddir}/system-preset
%dir %{_systemddir}/user-environment-generators
%{_systemddir}/systemd-shutdown
/usr/lib64/systemd/libsystemd-core-*.so
/usr/lib64/systemd/libsystemd-shared*.so
%{_libdir}/systemd/libsystemd-core-*.so
%{_libdir}/systemd/libsystemd-shared*.so
%{_systemddir}/systemd-reply-password
%dir %{_systemddir}/system-generators
%dir %{_systemddir}/system
@ -1498,6 +1498,9 @@ fi
%{_libdir}/security/pam_systemd.so
%changelog
* Sat Jul 29 2023 huyubiao <huyubiao@huawei.com> - 253-2
- fix the dynamic library cannot be found
* Thu Jul 20 2023 huyubiao <huyubiao@huawei.com> - 253-1
- systemd update to v253