Accepting request 55865 from Base:System
Accepted submit request 55865 from user elvigia OBS-URL: https://build.opensuse.org/request/show/55865 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=115
This commit is contained in:
parent
9cde89a030
commit
0db4e16928
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user