summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-09-20 12:19:34 +0300
committerPanu Matilainen <pmatilai@redhat.com>2007-09-20 12:19:34 +0300
commit4df06c5df7dadab2baa85d80522044da9dbe5733 (patch)
tree9e28e0b079b5fbc49c2db4de33a100aad90cbb74 /lib
parentae40a9001426e6f8fd17a0e00d1d63550dc7fca9 (diff)
downloadrpm-4df06c5df7dadab2baa85d80522044da9dbe5733.tar.gz
rpm-4df06c5df7dadab2baa85d80522044da9dbe5733.tar.bz2
rpm-4df06c5df7dadab2baa85d80522044da9dbe5733.zip
Conditionalize rpmlib(PayloadIsBzip2) provide on HAVE_BZLIB_H
Diffstat (limited to 'lib')
-rw-r--r--lib/rpmlibprov.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rpmlibprov.c b/lib/rpmlibprov.c
index 7d8ad3e00..bff6ecab4 100644
--- a/lib/rpmlibprov.c
+++ b/lib/rpmlibprov.c
@@ -26,9 +26,11 @@ static struct rpmlibProvides_s rpmlibProvides[] = {
{ "rpmlib(CompressedFileNames)", "3.0.4-1",
(RPMSENSE_RPMLIB|RPMSENSE_EQUAL),
N_("file name(s) stored as (dirName,baseName,dirIndex) tuple, not as path.")},
+#if HAVE_BZLIB_H
{ "rpmlib(PayloadIsBzip2)", "3.0.5-1",
(RPMSENSE_RPMLIB|RPMSENSE_EQUAL),
N_("package payload can be compressed using bzip2.") },
+#endif
{ "rpmlib(PayloadFilesHavePrefix)", "4.0-1",
(RPMSENSE_RPMLIB|RPMSENSE_EQUAL),
N_("package payload file(s) have \"./\" prefix.") },