summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorMichal Domonkos <mdomonko@redhat.com>2022-09-30 13:04:04 +0200
committerPanu Matilainen <pmatilai@redhat.com>2022-09-30 14:49:15 +0300
commit97b75f592d7731aa3105f47b2f5b8a62a2e1ce12 (patch)
tree233c0af88aa55718d769f588b80f3bd0f635bb6b /build
parent5e509993681d46aaae7badac2b3fc8be83bd0eeb (diff)
downloadrpm-97b75f592d7731aa3105f47b2f5b8a62a2e1ce12.tar.gz
Fix unrecognized bzlib regression in pack.c
BZ2 compression type is no longer recognized during package build when used in %_binary_payload or %_source_payload. This is caused by a typo that got in as part of commit 48d0fa954ca1629ffb0092b9c00555570241d6a0.
Diffstat (limited to 'build')
-rw-r--r--build/pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/pack.c b/build/pack.c
index a36a23a1a..5a63b6555 100644
--- a/build/pack.c
+++ b/build/pack.c
@@ -299,7 +299,7 @@ static char *getIOFlags(Package pkg)
compr = NULL;
} else if (rstreq(s+1, "gzdio")) {
compr = "gzip";
-#ifdef have_bzlib_h
+#ifdef HAVE_BZLIB_H
} else if (rstreq(s+1, "bzdio")) {
compr = "bzip2";
/* Add prereq on rpm version that understands bzip2 payloads */