Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:vizhestkov:xs114b:rpm
rpm
checksepwarn.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File checksepwarn.diff of Package rpm
--- ./build/parseReqs.c.orig 2014-02-21 12:25:51.259664860 +0000 +++ ./build/parseReqs.c 2014-02-21 12:28:07.545664619 +0000 @@ -178,8 +178,14 @@ rpmRC parseRCPOT(rpmSpec spec, Package p if (rpmCharCheck(spec, EVR, ve-v, ".-_+:%{}~")) goto exit; /* While ':' and '-' are valid, only one of each is valid. */ - if (checkSep(EVR, '-', &emsg) || checkSep(EVR, ':', &emsg)) - goto exit; + if (checkSep(EVR, '-', &emsg) || checkSep(EVR, ':', &emsg)) { + if (tagflags & (RPMSENSE_FIND_REQUIRES|RPMSENSE_FIND_PROVIDES)) { + rpmlog(RPMLOG_WARNING, "%s: %s\n", emsg, r); + } else { + rpmlog(RPMLOG_WARNING, _("line %d: %s: %s\n"), spec->lineNum, emsg, spec->line); + } + emsg = _free(emsg); + } re = ve; /* ==> next token after EVR string starts here */ } else
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor