diff options
Diffstat (limited to 'lib/package.c')
-rw-r--r-- | lib/package.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/package.c b/lib/package.c index b72bc057d..2559c38d5 100644 --- a/lib/package.c +++ b/lib/package.c @@ -95,6 +95,7 @@ static int readPackageHeaders(FD_t fd, struct rpmlead * leadPtr, &defaultPrefix, 1); } + /* XXX binary rpms always have RPMTAG_SOURCERPM, source rpms do not */ if (lead->type == RPMLEAD_SOURCE) { if (!headerIsEntry(*hdr, RPMTAG_SOURCEPACKAGE)) headerAddEntry(*hdr, RPMTAG_SOURCEPACKAGE, RPM_INT32_TYPE, |