lib/package.c (readPackageHeaders): Remove insecure legacy providePackageNVR() call
This commit is contained in:
parent
8a189d448b
commit
6e81fe8727
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user