]> git.pld-linux.org Git - packages/glibc.git/blobdiff - glibc.spec
- release 9.
[packages/glibc.git] / glibc.spec
index 4328e10137e2f47c4f171053b6101e16c830af02..df3d520e23e79d75f7a80a474bd03519b71a1063 100644 (file)
@@ -6,7 +6,7 @@ Summary(pl):    GNU libc
 Summary(tr):   GNU libc
 Name:          glibc
 Version:       2.2.4
-Release:       7
+Release:       9
 License:       LGPL
 Group:         Libraries
 Group(de):     Libraries
@@ -157,6 +157,7 @@ Group(pl):  Sieciowe/Serwery
 Prereq:                /sbin/chkconfig
 Prereq:                rc-scripts >= 0.2.0
 Requires:      %{name} = %{version}
+Requires(post):        fileutils
 
 %description -n nscd
 nscd caches name service lookups; it can dramatically improve
@@ -462,7 +463,8 @@ install nss/nsswitch.conf   $RPM_BUILD_ROOT%{_sysconfdir}
 
 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 bzip2 -dc %{SOURCE6} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
-touch $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.{cache,conf}
+> $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.cache
+> $RPM_BUILD_ROOT%{_sysconfdir}/ld.so.conf
 rm -f %{_mandir}/hu/man7/man.7
 
 :> $RPM_BUILD_ROOT/var/log/nscd
@@ -509,7 +511,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %post -n nscd
 /sbin/chkconfig --add nscd
-touch /var/log/nscd && (chown root.root /var/log/nscd ; chmod 640 /var/log/nscd)
+touch /var/log/nscd && (chmod 000 /var/log/nscd; chown root.root /var/log/nscd; chmod 640 /var/log/nscd)
 if [ -f /var/lock/subsys/nscd ]; then
        /etc/rc.d/init.d/nscd restart 1>&2
 else
@@ -539,7 +541,7 @@ fi
 %attr(755,root,root) %{_bindir}/glibcbug
 %attr(755,root,root) %{_bindir}/iconv
 %attr(755,root,root) %{_bindir}/ldd
-%ifnarch alpha
+%ifnarch alpha sparc sparc64 ppc
 %attr(755,root,root) %{_bindir}/lddlibc4
 %endif
 %attr(755,root,root) %{_bindir}/locale
This page took 0.026623 seconds and 4 git commands to generate.