Incorrect sense matched.
CVS patchset: 3101 CVS date: 1999/06/18 14:33:16
This commit is contained in:
parent
c2cef66420
commit
35f20f2ece
|
@ -129,7 +129,7 @@ int parseRCPOT(Spec spec, Package pkg, const char *field, int tag, int index)
|
|||
if (ve > v) {
|
||||
struct ReqComp *rc;
|
||||
for (rc = ReqComparisons; rc->token != NULL; rc++) {
|
||||
if (strncmp(v, rc->token, (ve-v)))
|
||||
if ((ve-v) != strlen(rc->token) || strncmp(v, rc->token, (ve-v)))
|
||||
continue;
|
||||
|
||||
if (r[0] == '/') {
|
||||
|
@ -138,6 +138,7 @@ int parseRCPOT(Spec spec, Package pkg, const char *field, int tag, int index)
|
|||
spec->lineNum, spec->line);
|
||||
return RPMERR_BADSPEC;
|
||||
}
|
||||
|
||||
switch(tag) {
|
||||
case RPMTAG_PROVIDES:
|
||||
case RPMTAG_OBSOLETES:
|
||||
|
|
13
rpmpopt
13
rpmpopt
|
@ -3,8 +3,6 @@
|
|||
# belong in /etc/popt, not here. This file will be replaced
|
||||
# whenever a new version of RPM is installed.
|
||||
|
||||
rpm alias --provides --qf '[%{PROVIDES}\n]'
|
||||
|
||||
rpm alias --scripts --qf '\
|
||||
%|PREIN?{preinstall script\
|
||||
%|PREINPROG?{ (through %{PREINPROG})}|:\n%{PREIN}\n}:\
|
||||
|
@ -33,8 +31,15 @@ rpm alias --setugids -q --qf \
|
|||
--pipe "(echo 'ch() { chown -- \"$1\" \"$3\";chgrp -- \"$2\" \"$3\"; }';grep -v \(none\))|sh"
|
||||
|
||||
|
||||
rpm alias --requires --qf \
|
||||
"[%{REQUIRENAME} %{REQUIREFLAGS:depflags} %{REQUIREVERSION}\n]"
|
||||
rpm alias --conflicts --qf \
|
||||
"[%{CONFLICTNAME} %{CONFLICTFLAGS:depflags} %{CONFLICTVERSION}\n]"
|
||||
|
||||
rpm alias --obsoletes --qf '[%{OBSOLETES}\n]'
|
||||
rpm alias --prereq --qf '[%{PREREQ}\n]'
|
||||
rpm alias --provides --qf '[%{PROVIDES}\n]'
|
||||
|
||||
rpm alias --requires --qf \
|
||||
"[%{REQUIRENAME} %{REQUIREFLAGS:depflags} %{REQUIREVERSION}\n]"
|
||||
rpm alias -R --requires
|
||||
|
||||
rpm alias --info --qf 'Name : %-27{NAME} Relocations: %|PREFIXES?{[%{PREFIXES} ]}:{(not relocateable)}|\n\
|
||||
|
|
Loading…
Reference in New Issue