Accepting request 55857 from home:msmeissn:branches:Base:System

OBS-URL: https://build.opensuse.org/request/show/55857
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=81
This commit is contained in:
Cristian Rodríguez 2010-12-13 18:13:39 +00:00 committed by Git OBS Bridge
parent a6789c0111
commit 0b239ab440
2 changed files with 17 additions and 4 deletions

View File

@ -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

View File

@ -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