Source6: %{name}-non-english-man-pages.tar.bz2
# Source6-md5: 6159f0a9b6426b5f6fc1b0d8d21b9b76
Source7: %{name}-localedb-gen
-Source8: %{name}-LD-path.c
Patch0: %{name}-info.patch
Patch1: %{name}-pl.po-update.patch
Patch2: %{name}-pld.patch
done
%endif
-%{__cc} %{SOURCE8} %{rpmcflags} -static -o glibc-postinst
-
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{/etc/{logrotate.d,rc.d/init.d,sysconfig},%{_mandir}/man{3,8},/var/log,/var/{lib,run}/nscd}
install elf/sofini.os $RPM_BUILD_ROOT%{_libdir}/sofini.o
install elf/postshell $RPM_BUILD_ROOT/sbin
-install glibc-postinst $RPM_BUILD_ROOT/sbin
cd ..
%if %{with dual}
%else
%post -p /sbin/postshell
%endif
-/sbin/glibc-postinst /%{_lib}/%{_host_cpu}
-/sbin/ldconfig /%{_lib} %{_prefix}/%{_lib}
+/sbin/ldconfig
-/sbin/telinit u
%ifarch amd64 ppc64 s390x sparc64
%defattr(644,root,root,755)
%doc README NEWS FAQ BUGS
%attr(755,root,root) /sbin/postshell
-%attr(755,root,root) /sbin/glibc-postinst
%attr(755,root,root) /sbin/ldconfig
# ld* and libc.so.6 SONAME symlinks must be in package because of
# chicken-egg problem (postshell is dynamically linked with libc);