fix the dynamic library cannot be found

This commit is contained in:
h30032433 2023-07-29 11:13:34 +08:00
parent 4196b9f9bb
commit a02052f289

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