Bug 688

Summary: rpm vfs does not list files
Product: [Retired] Red Hat Linux Reporter: borgia
Component: mcAssignee: David Lawrence <dkl>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-01-05 15:52:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description borgia 1999-01-05 06:59:31 UTC
all you get when you enter an rpm package with mc's vfs is
the header list.
apply this patch to fix:
-cut-cut-
--- rpm.orig	Wed Dec 30 23:58:00 1998
+++ rpm	Fri
Jan  1 12:46:34 1999
@@ -5,6 +5,7 @@
 #            Tomasz
K&oczko (kloczek@rudy.mif.pg.gda.pl) 1997
 # minor changes
by Wojtek Pilorz (wpilorz@bdk.lublin.pl) 1997
 # minor
changes by Michele Marziani (marziani@fe.infn.it) 1997
+#
fix to handle new rpm output by Andrea Borgia
<borgia@students.cs.unibo.it> (1999)
 # (C) 1996 The Free
Software Foundation.
 #
 #
@@ -97,7 +98,7 @@
         echo
"$FILEPREF 0 $DATE INFO/CHANGELOG"
     fi

-    rpm -qlvp
$1 | sed -e 's/^\(..........\)[-t] /\1 1 /'
+    rpm -qlvp
$1 | sed -e 's/^\(..........\) /\1 1 /'
 }


mcrpmfs_copyout ()
-cut-cut-

Comment 1 Jeff Johnson 1999-01-05 15:52:59 UTC
*** This bug has been marked as a duplicate of 13 ***