added pre-2.34 legacy .so symlinks [release 2.34-5mamba;Wed Sep 29 2021]
This commit is contained in:
parent
7c9bc179d9
commit
705da4d9b5
20
glibc.spec
20
glibc.spec
@ -84,7 +84,7 @@
|
|||||||
|
|
||||||
Name: glibc
|
Name: glibc
|
||||||
Version: 2.34
|
Version: 2.34
|
||||||
Release: 4mamba
|
Release: 5mamba
|
||||||
Summary: The GNU libc libraries
|
Summary: The GNU libc libraries
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -116,12 +116,6 @@ Patch17: glibc-2.21-prevent-ehaustion-of-tls-slots.patch
|
|||||||
Patch18: glibc-2.25-resolv-no-compat.patch
|
Patch18: glibc-2.25-resolv-no-compat.patch
|
||||||
License: LGPL
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libaudit-devel
|
|
||||||
BuildRequires: libcap-devel
|
|
||||||
BuildRequires: libgd-devel
|
|
||||||
BuildRequires: libpng-devel
|
|
||||||
BuildRequires: libselinux-devel
|
|
||||||
BuildRequires: libz-devel
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: libidn-devel
|
BuildRequires: libidn-devel
|
||||||
BuildRequires: binutils >= 2.13
|
BuildRequires: binutils >= 2.13
|
||||||
@ -576,6 +570,12 @@ install -D -m644 %{SOURCE4} %{buildroot}%{_sysconfdir}/logrotate.d/nscd
|
|||||||
install -D -m644 %{SOURCE5} %{buildroot}%{_sysconfdir}/nscd.conf
|
install -D -m644 %{SOURCE5} %{buildroot}%{_sysconfdir}/nscd.conf
|
||||||
install -D -m644 nscd/nscd.service %{buildroot}%{_unitdir}/nscd.service
|
install -D -m644 nscd/nscd.service %{buildroot}%{_unitdir}/nscd.service
|
||||||
install -D -m644 nscd/nscd.tmpfiles %{buildroot}%{_tmpfilesdir}/nscd.conf
|
install -D -m644 nscd/nscd.tmpfiles %{buildroot}%{_tmpfilesdir}/nscd.conf
|
||||||
|
# Provide pre 2.34 legacy symlinks
|
||||||
|
ln -s libdl.so.2 %{buildroot}%{glibc_libdir}/libdl.so
|
||||||
|
ln -s libpthread.so.0 %{buildroot}%{glibc_libdir}/libpthread.so
|
||||||
|
ln -s librt.so.1 %{buildroot}%{glibc_libdir}/librt.so
|
||||||
|
ln -s libutil.so.1 %{buildroot}%{glibc_libdir}/libutil.so
|
||||||
|
|
||||||
%else
|
%else
|
||||||
rm -rf %{buildroot}%{_sysconfdir}
|
rm -rf %{buildroot}%{_sysconfdir}
|
||||||
rm -rf %{buildroot}%{_infodir}
|
rm -rf %{buildroot}%{_infodir}
|
||||||
@ -792,8 +792,7 @@ if [ "$platform_includes" -a -d %{_includedir}/$platform_includes ]; then
|
|||||||
rm -f %{_includedir}/$platform_includes/*
|
rm -f %{_includedir}/$platform_includes/*
|
||||||
rmdir %{_includedir}/$platform_includes
|
rmdir %{_includedir}/$platform_includes
|
||||||
fi
|
fi
|
||||||
|
:
|
||||||
exit 0
|
|
||||||
|
|
||||||
%post devel
|
%post devel
|
||||||
%install_info libc.info
|
%install_info libc.info
|
||||||
@ -990,6 +989,9 @@ fi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.34-5mamba
|
||||||
|
- added pre-2.34 legacy .so symlinks
|
||||||
|
|
||||||
* Sun Aug 15 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.34-4mamba
|
* Sun Aug 15 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.34-4mamba
|
||||||
- triggerpostun glibc < 2.34-4mamba: lua script to finally migrate /lib[64] to /usr/lib[64] and symlink to them
|
- triggerpostun glibc < 2.34-4mamba: lua script to finally migrate /lib[64] to /usr/lib[64] and symlink to them
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user