SHA256
6
0
forked from pool/rpm

fix depflag_strong filter, all weak deps were shown as strong (bnc#359566).

OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=83
This commit is contained in:
2010-12-20 10:52:08 +00:00
committed by Git OBS Bridge
parent e15861055c
commit b07fa8ac60
2 changed files with 7 additions and 1 deletions

View File

@@ -144,7 +144,7 @@ Needs extcond.diff for query operations.
+{
+ char * val = NULL;
+
+ if (rpmtdType(td) != RPM_NUMERIC_CLASS) {
+ if (rpmtdClass(td) != RPM_NUMERIC_CLASS) {
+ val = xstrdup(_("(not a number)"));
+ } else {
+ uint64_t anint = rpmtdGetNumber(td);