lib/package.c (readPackageHeaders): Remove insecure legacy providePackageNVR() call

This commit is contained in:
Дмитрий Левин 2007-05-17 23:29:23 +00:00
parent 8a189d448b
commit 6e81fe8727

View File

@ -227,9 +227,6 @@ static rpmRC readPackageHeaders(FD_t fd,
if (!headerIsEntry(*hdr, RPMTAG_SOURCEPACKAGE))
(void)headerAddEntry(*hdr, RPMTAG_SOURCEPACKAGE, RPM_INT32_TYPE,
&one, 1);
} else if (lead->major < 4) {
/* Retrofit "Provide: name = EVR" for binary packages. */
providePackageNVR(*hdr);
}
break;