[Fedora PATCH]: BZ 234473 Remove sparse directory listing from kernel rpmbuild

Prarit Bhargava prarit at redhat.com
Thu Mar 29 15:29:21 UTC 2007


Currently, rpmbuild -bp kernel-2.6.spec does

/usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/sparse-0.2.tar.bz2
tar -xvvf -

which displays the directory of what has been untarred:

drwxrwxrwx git/git           0 2006-12-05 06:22:44 sparse-0.2/
(snip 123 lines)

I'm not sure if the full directory listing of sparse is needed.  If it isn't,
then let's clean it up.

Resolves BZ 234473.

Signed-off-by: Prarit Bhargava <prarit at redhat.com>

--- kernel-2.6.spec.orig	2007-03-29 06:04:13.000000000 -0400
+++ kernel-2.6.spec	2007-03-29 06:04:16.000000000 -0400
@@ -1219,7 +1219,7 @@
 
 # unpack sparse.
 if [ ! -d sparse-%{sparsever} ] ; then
-%setup -T -D -a 3 -q
+%setup -D -T -q -a3
 fi
 
 # Unpack the Xen tarball.




More information about the Fedora-kernel-list mailing list