aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rwxr-xr-xbrp-compress3
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index b9fb3fc..df27c16 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,8 @@
- fix typo that breaks emiting maven provides
- generate a perlapi-<version> provide when libperl.so is found
(inspirated from mdv (pok))
+- sync brp-compress with upstream rpm.org:
+ o avoid some unnecessary command invocations in scripts
- sync find-debuginfo.sh with upstream rpm.org:
o add -r flag to find-debuginfo.sh to invoke eu-strip --reloc-debug-sections
(Mark Wielaard, 2011-05-25)
diff --git a/brp-compress b/brp-compress
index 6912d66..25873ca 100755
--- a/brp-compress
+++ b/brp-compress
@@ -19,10 +19,9 @@ for d in ./usr/man/man* ./usr/man/*/man* ./usr/info \
./usr/share/doc/*/man/man* ./usr/lib/*/man/man*
do
[ -d $d ] || continue
- for f in `find $d -type f`
+ for f in `find $d -type f ! -name dir`
do
[ -f "$f" ] || continue
- [ "`basename $f`" = "dir" ] && continue
case "$f" in
*.Z) gunzip $f; b=`echo $f | sed -e 's/\.Z$//'`;;