diff --git a/brpcombress.diff b/brpcombress.diff index fff1a7e..57e2383 100644 --- a/brpcombress.diff +++ b/brpcombress.diff @@ -2,7 +2,7 @@ Index: scripts/brp-compress =================================================================== --- scripts/brp-compress.orig +++ scripts/brp-compress -@@ -1,16 +1,43 @@ +@@ -1,56 +1,83 @@ -#!/bin/sh +#!/bin/bash @@ -47,8 +47,15 @@ Index: scripts/brp-compress for d in ./usr/man/man* ./usr/man/*/man* ./usr/info \ ./usr/share/man/man* ./usr/share/man/*/man* ./usr/share/info \ ./usr/kerberos/man ./usr/X11R6/man/man* ./usr/lib/perl5/man/man* \ -@@ -23,34 +50,34 @@ do - [ "`basename $f`" = "dir" ] && continue + ./usr/share/doc/*/man/man* ./usr/lib/*/man/man* + do + [ -d $d ] || continue +- for f in `find $d -type f` ++ find $d -type f | while read f + do + [ -f "$f" ] || continue +- [ "`basename $f`" = "dir" ] && continue ++ [ "`basename \"$f\"`" = "dir" ] && continue case "$f" in - *.gz|*.Z) gunzip $f; b=`echo $f | sed -e 's/\.\(gz\|Z\)$//'`;; @@ -83,7 +90,8 @@ Index: scripts/brp-compress } done - for f in `find $d -type l` +- for f in `find $d -type l` ++ find $d -type l | while read f do - l=`ls -l $f | sed -e 's/.* -> //' -e 's/\.\(gz\|Z\|bz2\|xz\|lzma\)$//'` - rm -f $f diff --git a/rpm.changes b/rpm.changes index 6f7e9fc..fc6ab55 100644 --- a/rpm.changes +++ b/rpm.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 9 16:44:10 UTC 2010 - meissner@novell.com + +- fixed two more remaining filenames with spaces issues. + ------------------------------------------------------------------- Wed Dec 8 13:05:06 UTC 2010 - meissner@novell.com