fix the dynamic library cannot be found
This commit is contained in:
parent
4196b9f9bb
commit
a02052f289
13
systemd.spec
13
systemd.spec
@ -21,7 +21,7 @@
|
|||||||
Name: systemd
|
Name: systemd
|
||||||
Url: https://www.freedesktop.org/wiki/Software/systemd
|
Url: https://www.freedesktop.org/wiki/Software/systemd
|
||||||
Version: 253
|
Version: 253
|
||||||
Release: 1
|
Release: 2
|
||||||
License: MIT and LGPLv2+ and GPLv2+
|
License: MIT and LGPLv2+ and GPLv2+
|
||||||
Summary: System and Service Manager
|
Summary: System and Service Manager
|
||||||
|
|
||||||
@ -420,9 +420,9 @@ do
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
done
|
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
|
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
|
%check
|
||||||
%ifnarch loongarch64
|
%ifnarch loongarch64
|
||||||
@ -905,8 +905,8 @@ fi
|
|||||||
%dir %{_systemddir}/system-preset
|
%dir %{_systemddir}/system-preset
|
||||||
%dir %{_systemddir}/user-environment-generators
|
%dir %{_systemddir}/user-environment-generators
|
||||||
%{_systemddir}/systemd-shutdown
|
%{_systemddir}/systemd-shutdown
|
||||||
/usr/lib64/systemd/libsystemd-core-*.so
|
%{_libdir}/systemd/libsystemd-core-*.so
|
||||||
/usr/lib64/systemd/libsystemd-shared*.so
|
%{_libdir}/systemd/libsystemd-shared*.so
|
||||||
%{_systemddir}/systemd-reply-password
|
%{_systemddir}/systemd-reply-password
|
||||||
%dir %{_systemddir}/system-generators
|
%dir %{_systemddir}/system-generators
|
||||||
%dir %{_systemddir}/system
|
%dir %{_systemddir}/system
|
||||||
@ -1498,6 +1498,9 @@ fi
|
|||||||
%{_libdir}/security/pam_systemd.so
|
%{_libdir}/security/pam_systemd.so
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Jul 20 2023 huyubiao <huyubiao@huawei.com> - 253-1
|
||||||
- systemd update to v253
|
- systemd update to v253
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user