SHA256
3
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:
Michael Schröder 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

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Dec 20 11:50:55 CET 2010 - mls@suse.de
- fix depflag_strong filter, all weak deps were shown as
strong (bnc#359566).
-------------------------------------------------------------------
Thu Dec 9 16:44:10 UTC 2010 - meissner@novell.com

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);