Index: build/pack.c =================================================================== --- build/pack.c.orig +++ build/pack.c @@ -379,7 +379,9 @@ rpmRC writeRPM(Header *hdrp, unsigned ch const char *compr = NULL; headerPutString(h, RPMTAG_PAYLOADFORMAT, "cpio"); - if (strcmp(s+1, "gzdio") == 0) { + if (strcmp(s+1, "ufdio") == 0) { + compr = NULL; + } else if (strcmp(s+1, "gzdio") == 0) { compr = "gzip"; #if HAVE_BZLIB_H } else if (strcmp(s+1, "bzdio") == 0) { @@ -402,7 +404,8 @@ rpmRC writeRPM(Header *hdrp, unsigned ch goto exit; } - headerPutString(h, RPMTAG_PAYLOADCOMPRESSOR, compr); + if (compr) + headerPutString(h, RPMTAG_PAYLOADCOMPRESSOR, compr); buf = xstrdup(rpmio_flags); buf[s - rpmio_flags] = '\0'; headerPutString(h, RPMTAG_PAYLOADFLAGS, buf+1);