summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-04-04 15:52:52 +0300
committerPanu Matilainen <pmatilai@redhat.com>2008-04-04 15:52:52 +0300
commit3c1126b2a550e2d9f51f46e0948ab5925fe07089 (patch)
treeba5da065994fab2416d715fbf1c5c661d8bf7ac6
parentd3f73d3ba08da6fa2906764f9a7504385801816b (diff)
downloadrpm-3c1126b2a550e2d9f51f46e0948ab5925fe07089.tar.gz
rpm-3c1126b2a550e2d9f51f46e0948ab5925fe07089.tar.bz2
rpm-3c1126b2a550e2d9f51f46e0948ab5925fe07089.zip
Missing decompression arguments for bzip in uncompress macro
-rw-r--r--rpmio/macro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmio/macro.c b/rpmio/macro.c
index 53859882c..06b2b5a79 100644
--- a/rpmio/macro.c
+++ b/rpmio/macro.c
@@ -1007,7 +1007,7 @@ doFoo(MacroBuf mb, int negate, const char * f, size_t fn,
sprintf(be, "%%__gzip -dc %s", b);
break;
case COMPRESSED_BZIP2:
- sprintf(be, "%%__bzip2 %s", b);
+ sprintf(be, "%%__bzip2 -dc %s", b);
break;
case COMPRESSED_ZIP:
sprintf(be, "%%__unzip %s", b);