Projects
Mega:23.09
rpm
_service:tar_scm:rpm-4.12.0-rpm2cpio-hack.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:rpm-4.12.0-rpm2cpio-hack.patch of Package rpm
diff --git a/rpm2cpio.c b/rpm2cpio.c index 940d6ce..d34e899 100644 --- a/rpm2cpio.c +++ b/rpm2cpio.c @@ -94,7 +94,12 @@ int main(int argc, char *argv[]) exit(EXIT_FAILURE); } - rc = (ufdCopy(gzdi, fdo) == payload_size) ? EXIT_SUCCESS : EXIT_FAILURE; + /* + * XXX HACK for #1142949: should be equality test, but archive size + * short by cpio trailer size in packages built with rpm 4.12.0 + * and its pre-releases. + */ + rc = (ufdCopy(gzdi, fdo) >= payload_size) ? EXIT_SUCCESS : EXIT_FAILURE; headerFree(h); Fclose(fdo);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2