aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-07-27 17:38:43 +0000
committerThierry Vignaud <tv@mageia.org>2012-07-27 17:38:43 +0000
commite3e64bb4e7fb8b37af24dcc9912652e68b9c9a7d (patch)
tree576891800f829fe8439770d0d0bb3390492ebe03
parentc8af0d7a062c9d74109a845987b9ca82806b7d67 (diff)
downloadrpm-setup-e3e64bb4e7fb8b37af24dcc9912652e68b9c9a7d.tar
rpm-setup-e3e64bb4e7fb8b37af24dcc9912652e68b9c9a7d.tar.gz
rpm-setup-e3e64bb4e7fb8b37af24dcc9912652e68b9c9a7d.tar.bz2
rpm-setup-e3e64bb4e7fb8b37af24dcc9912652e68b9c9a7d.tar.xz
rpm-setup-e3e64bb4e7fb8b37af24dcc9912652e68b9c9a7d.zip
sync brp-compress with upstream rpm.org:
Avoid some unnecessary command invocations in scripts. (Ville Skyttä <ville.skytta@iki.fi> 2010-02-03)
-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$//'`;;