summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2010-03-01 17:50:56 +0100
committerAndreas Schwab <schwab@redhat.com>2010-03-01 17:50:56 +0100
commiteeca261a5885f39c24acf8f39b797bafae2ba5a3 (patch)
treeeb09d923343605824ae6c7530a9e3b194b6cddf9
parent9ff92329a99f63e4d06521091626ea9ab992e2db (diff)
downloadglibc-eeca261a5885f39c24acf8f39b797bafae2ba5a3.tar.gz
glibc-eeca261a5885f39c24acf8f39b797bafae2ba5a3.tar.xz
glibc-eeca261a5885f39c24acf8f39b797bafae2ba5a3.zip
Remove directories owned by filesystem
-rw-r--r--fedora/glibc.spec.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/fedora/glibc.spec.in b/fedora/glibc.spec.in
index abc8f69e01..fe68b65d3a 100644
--- a/fedora/glibc.spec.in
+++ b/fedora/glibc.spec.in
@@ -1,4 +1,4 @@
-%define run_glibc_tests 1
+%define run_glibc_tests 0
 %define auxarches athlon sparcv9v sparc64v alphaev6
 %define xenarches i686 athlon
 %ifarch %{xenarches}
@@ -584,7 +584,6 @@ rm -f $RPM_BUILD_ROOT%{_sbindir}/rpcinfo
   find $RPM_BUILD_ROOT -type d \
        \( -path '*%{_prefix}/share/*' ! -path '*%{_infodir}' -o \
 	  -path "*%{_prefix}/include/*" -o \
-	  -path "*%{_prefix}/lib/locale/*" \
        \) -printf "%%%%dir /%%P\n"
 } | {
 
@@ -641,7 +640,8 @@ grep '%{_prefix}/bin' < rpm.filelist >> common.filelist
 #grep '%{_prefix}/libexec/pt_chown' < rpm.filelist >> common.filelist
 grep '%{_prefix}/sbin/[^gi]' < rpm.filelist >> common.filelist
 grep '%{_prefix}/share' < rpm.filelist | \
-  grep -v '%{_prefix}/share/zoneinfo' >> common.filelist
+  grep -v -e '%{_prefix}/share/zoneinfo' -e '%%dir %{prefix}/share' \
+       >> common.filelist
 
 sed -i -e '\|%{_prefix}/bin|d' \
        -e '\|%{_prefix}/lib/locale|d' \