[Bug 960515] New: rpm -q --qf %{OBSOLETES} truncates the obsoletes relation
http://bugzilla.suse.com/show_bug.cgi?id=960515 Bug ID: 960515 Summary: rpm -q --qf %{OBSOLETES} truncates the obsoletes relation Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: x86-64 OS: openSUSE 42.1 Status: NEW Severity: Normal Priority: P5 - None Component: Installation Assignee: yast2-maintainers@suse.de Reporter: jimc@math.ucla.edu QA Contact: jsrain@suse.com Found By: --- Blocker: --- This is a continuation of openSUSE bug 811162. Particularly see comment #15. The version is rpm-4.11.2. If you do: rpm -q --qf "obso=[%{OBSOLETES}\n]" $package, e.g. specifically: rpm -q --qf "obso=[%{OBSOLETES}\n]" -p http://download.opensuse.org/repositories/openSUSE:/Leap:/42.1/standard/noar... it will print "obso=texlive-tools" when it should produce "obso=texlive-tools <= 2012" and there is corroboration in bug 811162 that this relation is actually in an older version of this RPM file. The reason this messes me up is detailed in the old bug report. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=960515
http://bugzilla.suse.com/show_bug.cgi?id=960515#c1
Michal Filka
http://bugzilla.suse.com/show_bug.cgi?id=960515
http://bugzilla.suse.com/show_bug.cgi?id=960515#c2
Fabian Vogt
#define RPMTAG_OBSOLETES RPMTAG_OBSOLETENAME
To get the full output
"obso=[%{OBSOLETENAME} %{OBSOLETEFLAGS:depflags} %{OBSOLETEVERSION}\n]"
seems to work as intended. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=960515
http://bugzilla.suse.com/show_bug.cgi?id=960515#c3
James Carter
participants (1)
-
bugzilla_noreply@novell.com