From f4a6e9c7a73fe040f327257e02903b5dc061fd68d81528c24b73fb7e43535eba Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Mon, 20 Dec 2010 13:37:51 +0000 Subject: [PATCH] Accepting request 56397 from Base:System Accepted submit request 56397 from user mlschroe OBS-URL: https://build.opensuse.org/request/show/56397 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpm?expand=0&rev=117 --- rpm.changes | 6 ++++++ weakdeps.diff | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/rpm.changes b/rpm.changes index fc6ab55..b64c643 100644 --- a/rpm.changes +++ b/rpm.changes @@ -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 diff --git a/weakdeps.diff b/weakdeps.diff index 22bd9bc..7e12a74 100644 --- a/weakdeps.diff +++ b/weakdeps.diff @@ -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);