Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 67341 - INFO/OBSOLETES always empty in #rpm view
INFO/OBSOLETES always empty in #rpm view
Product: Red Hat Linux
Classification: Retired
Component: mc (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jindrich Novy
Aaron Brown
: EasyFix, Patch
Depends On:
  Show dependency treegraph
Reported: 2002-06-22 19:57 EDT by Miloslav Trmac
Modified: 2013-07-02 18:56 EDT (History)
3 users (show)

See Also:
Fixed In Version: 4.6.1-0.5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-10-26 12:23:01 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Patch (583 bytes, patch)
2002-06-22 19:58 EDT, Miloslav Trmac
no flags Details | Diff
trivial patch to mc 4.6.0 (/usr/share/mc/extfs/rpm) (1.79 KB, patch)
2003-07-10 17:17 EDT, Paul Bolle
no flags Details | Diff
patch against mc-4.6.0-14.10 (569 bytes, patch)
2004-05-09 09:14 EDT, Leonard den Ottolander
no flags Details | Diff
Add INFO/OBSOLETES and INFO/LICENSE to rpm view (1.17 KB, patch)
2004-08-22 07:11 EDT, Leonard den Ottolander
no flags Details | Diff

  None (edit)
Description Miloslav Trmac 2002-06-22 19:57:33 EDT
Description of problem:
When you "open" an RPM file (such as the last ghostscript all-in-one-package
update (why was it needed, BTW?)), the INFO/OBSOLETES file is always empty. The
/usr/lib/mc lists OBSOLETES, but doesn't provide a way to get it in the
mcrpmfs_copyout() function.

Version-Release number of selected component (if applicable):
Comment 1 Miloslav Trmac 2002-06-22 19:58:41 EDT
Created attachment 62244 [details]
Comment 2 Miloslav Trmac 2002-06-23 10:00:37 EDT
Note that the same fix has to be applied to /usr/lib/vfs/rpm, package gnome-vfs
(or possibly its equivalent in gnome 2). Don't you love duplicate files?
Comment 3 Miloslav Trmac 2002-10-05 19:41:34 EDT
The same in 8.0
Comment 4 Havoc Pennington 2002-10-05 20:05:12 EDT
Can you also submit this patch upstream, www.gnome.org/projects/mc? 
That way the maintainers of mc can review it, and it gets incorporated into 
the main mc version.
Comment 5 Paul Bolle 2003-07-10 17:17:10 EDT
Created attachment 92869 [details]
trivial patch to mc 4.6.0 (/usr/share/mc/extfs/rpm)

Still the same in 9.0 (using mc 4.6.0). 
INFO/LICENSE is always empty too. Since %{LICENSE} and %{COPYRIGHT} are always 
identical (AFAIK) and "License:" shows up after an "rpm -qi (...)" I suggest to
INFO/LICENSE and to drop INFO/COPYRIGHT. Please find attached my trivial patch
(also covering INFO/OBSOLETES).
I'll try to submit either my patch or a bugreport upstream and hope to return
here with an url (or 
something likewise).
Comment 6 Paul Bolle 2003-07-10 17:51:31 EDT
OK, here's the url of my upstreams bugreport: 
https://savannah.gnu.org/bugs/?func=detailbug&bug_id=4271&group_id=3521 (let's just hope it 
wasn't a duplicate report ...) 
Comment 7 Leonard den Ottolander 2004-05-09 09:14:19 EDT
Created attachment 100112 [details]
patch against mc-4.6.0-14.10

Easy fix and still not addressed. Please apply with the next update.
Comment 8 Leonard den Ottolander 2004-08-18 17:44:35 EDT
Yes yes, it's unbelievable but true: This has been fixed upstream!
Closing NEXTRELEASE as I assume this will be in one of the next releases.
Comment 9 Leonard den Ottolander 2004-08-22 07:02:59 EDT
Please also add this tiny patch before the next security update. TIA.
Comment 10 Leonard den Ottolander 2004-08-22 07:11:15 EDT
Created attachment 102966 [details]
Comment 11 Leonard den Ottolander 2004-10-26 12:23:01 EDT
Fixed upstream and in RawHide.

Note You need to log in before you can comment on or make changes to this bug.